#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_dim to a copy of map from 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_dim specified by a previous output_*(output_dim, ...) call.