#include "tensorstore/index_space/output_index_map.h"
class tensorstore::OutputIndexMapRef<InputRank>::IndexArrayView;

Represents a const view of an index array and associated bounds.

Methods

SharedArrayView<const Index, InputRank, offset_origin>
shared_array_ref() const;

Returns a SharedArrayView representing the index array.

ArrayView<const Index, InputRank, offset_origin> array_ref() const;

Returns an ArrayView representing the index array.

const SharedElementPointer<const Index>element_pointer() const;

Returns the element pointer to the 0 position (not necessarily the origin) of the index array.

IndexInterval index_range() const;

Returns the bounding interval on the index array values.

StaticOrDynamicRank<InputRank> rank() const;

Returns the rank of the index array, which is equal to the input rank of the index transform.

StridedLayoutView<InputRank, offset_origin> layout() const;

Returns the strided layout of the index array.

span<const Index, InputRank> byte_strides() const;

Returns layout().byte_strides().