-
#include "tensorstore/index_space/dimension_identifier.h"
-
absl::Status
tensorstore::NormalizeDimRangeSpec(const DimRangeSpec& spec,
DimensionIndex rank,
DimensionIndexBuffer* result); Appends to
*result
the dimensions corresponding tospec
.- Parameters:¶
- const DimRangeSpec &spec¶
The dimension range specification.
- DimensionIndex rank¶
Number of dimensions.
- out
- DimensionIndexBuffer *result¶
Non-null pointer to result vector.
- Returns:¶
absl::Status()
on success.- Error absl::StatusCode::kInvalidArgument:¶
if
spec
is invalid.