-
#include "tensorstore/index_space/index_transform_builder.h" -
template <DimensionIndex OtherInputRank>
IndexTransformBuilder&
tensorstore::IndexTransformBuilder<InputRank, OutputRank>::output_map(
DimensionIndex output_dim,
OutputIndexMapRef<OtherInputRank> map); Sets the output index map for output dimension
output_dimto a copy ofmapfrom an existing index transform.- Parameters:¶
- DimensionIndex output_dim¶
The output dimension for which to set the output index map.
- OutputIndexMapRef<OtherInputRank> map¶
The output index map to copy.
- Pre:¶
valid() == true- Checks:¶
0 <= output_dim && output_dim < output_rank().
Note
This method overrides any output index map for
output_dimspecified by a previousoutput_*(output_dim, ...)call.