-
#include "tensorstore/strided_layout.h"
-
template <typename Indices>
requires IsCompatibleFullIndexVector<static_rank, Indices>
Index tensorstore::StridedLayout<Rank, OriginKind, CKind>::operator()(
const Indices& indices) const; -
template <size_t N>
requires (RankConstraint::EqualOrUnspecified(static_rank, N))
Index tensorstore::StridedLayout<Rank, OriginKind, CKind>::operator()(
const Index (&indices)[N]) const; Returns the byte offset corresponding to a list of
rank()
indices into the layout.Unlike for
operator[]
, the number of indices must equalrank()
.