Skip to content

strata::indexed_tensorΒΆ

Part of Views and expressions.

concept

template<typename E>
concept strata::indexed_tensor = shape_queryable<E> && detail::reads_by_index<std::remove_cvref_t<E>> && requires {
 typename value_t<E>;
} && std::convertible_to<detail::read_t<std::remove_cvref_t<E>>, value_t<E>>

What can be read by index: it gives its shape, and a value for each index, one per axis.