-
#include "tensorstore/index_space/index_transform.h"
-
absl::Status
tensorstore::IndexTransform<InputRank, OutputRank, CKind>::
TransformIndices(span<const Index, InputRank> input_indices,
span<Index, OutputRank> output_indices) const; Computes the
output_indices
corresponding to the giveninput_indices
.- Pre:¶
valid()
- Dchecks:¶
input_indices.size() == input_rank()
- Dchecks:¶
output_indices.size() == output_rank()
- Returns:¶
absl::OkStatus()
on success.- Error absl::StatusCode::kOutOfRange:¶
if
input_indices
is not contained within the domain (implicit bounds are ignored).- Error absl::StatusCode::kOutOfRange:¶
if an array output index map results in an index outside its
index_range
constraint.