-
#include "tensorstore/index_space/index_transform.h"
-
template <DimensionIndex Rank>
IndexTransform<Rank, Rank> tensorstore::IdentityTransform(
StaticOrDynamicRank<Rank> rank = StaticRank<Rank>()); - IndexTransform<> tensorstore::IdentityTransform(DimensionIndex rank);
Returns an identity transform of the specified rank.
The input domain of the returned transform is unbounded with implicit lower and upper bounds.
- Template Parameters:¶
- DimensionIndex Rank¶
Optional. Specifies the rank at compile time.
- Dchecks:¶
rank >= 0