-
#include "tensorstore/index_space/index_transform.h" -
template <DimensionIndex InputRank,
DimensionIndex OutputRank,
ContainerKind CKind>
IndexTransform<InputRank, InputRank>
tensorstore::IdentityTransformLike(
const IndexTransform<InputRank, OutputRank, CKind>& transform); Returns an identity transform over the input domain of an existing transform.
The
IndexTransform::implicit_lower_boundsandIndexTransform::implicit_upper_boundsvectors of the returned transform are equal to the corresponding vector of the inputtransform.