#include "tensorstore/index_space/output_index_method.h"
enum class tensorstore::OutputIndexMethod;

Specifies the method by which the index into a given output dimension of an index transform is computed from the input indices.

enumerator constant;

Output index is equal to the constant offset and does not depend on any input dimensions.

enumerator single_input_dimension;

Output index is equal to offset + stride * input[input_dimension].

enumerator array;

Output index is equal to offset + stride * array(input).

std::ostream&
tensorstore::operator<<(std::ostreamosOutputIndexMethod method);

Prints to an output stream.