-
#include "tensorstore/index_space/index_transform.h"
-
template <DimensionIndex Rank>
IndexTransform<Rank, Rank> tensorstore::IdentityTransform(
const std::string_view (&labels)[Rank]); -
template <typename Labels>
auto tensorstore::IdentityTransform(const Labels& labels); Returns an identity transform with the specified dimension labels.
The input domain of the returned transform is unbounded with implicit lower and upper bounds and explicit labels.
- Requires:¶
Labels
isspan
-compatible with aspan::value_type
ofstd::string
,std::string_view
, orconst char*
.