-
#include "tensorstore/index_space/index_transform.h"
-
template <typename Shape>
auto tensorstore::IdentityTransform(const Shape& shape); -
template <DimensionIndex Rank>
IndexTransform<Rank, Rank>
tensorstore::IdentityTransform(const Index (&shape)[Rank]); Returns an identity transform with an origin of
0
and the specifiedshape
.The lower and upper bounds of the returned transform are explicit.