#include "tensorstore/strided_layout.h"
enum class tensorstore::ArrayOriginKind;

Specifies whether array indices start at zero, or at an arbitrary origin vector.

enumerator zero;

Origin is always at 0.

enumerator offset;

Non-zero origin is permitted.

constexpr const ArrayOriginKind tensorstore::zero_origin =
   
 ArrayOriginKind::zero;
constexpr const ArrayOriginKind tensorstore::offset_origin =
   
 ArrayOriginKind::offset;
std::ostreamtensorstore::operator<<(std::ostreamos,
                                      
ArrayOriginKind origin_kind);

Prints a string representation of the origin kind.

constexpr bool
tensorstore::IsArrayOriginKindConvertible(ArrayOriginKind source,
                                          
ArrayOriginKind target);

Returns true iff an array with origin kind source can be converted to an array with origin kind target.