#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_bounds and IndexTransform::implicit_upper_bounds vectors of the returned transform are equal to the corresponding vector of the input transform.