-
#include "tensorstore/contiguous_layout.h"
-
template <ContiguousLayoutOrder Order = c_order, typename I = Index>
void tensorstore::GetContiguousIndices(I offset,
span<const I> shape,
span<I> indices); Computes the indices corresponding to a given linear offset for the specified
shape
andOrder
.This is the inverse of
GetContiguousOffset
.