-
#include "tensorstore/index_space/index_domain.h"
-
explicit tensorstore::IndexDomain<Rank, CKind>::IndexDomain(
span<const Index, Rank> shape); -
template <DimensionIndex N>
requires (RankConstraint::Implies(N, Rank))
explicit tensorstore::IndexDomain<Rank, CKind>::IndexDomain(
const Index (&shape)[N]); Constructs a domain with the specified shape.
Can be called with a braced list, e.g.
IndexDomain({2, 3, 4})
.