-
#include "tensorstore/strided_layout.h" -
span<const Index, RankConstraint::FromInlineRank(Rank)>
tensorstore::StridedLayout<Rank, OriginKind, CKind>::origin() const; -
span<MaybeConstOriginIndex, RankConstraint::FromInlineRank(Rank)>
tensorstore::StridedLayout<Rank, OriginKind, CKind>::origin(); Returns the origin vector of size
rank().For the non-const overload, the returned
spanhas non-constIndexelements ifcontainer_kind == containerandarray_origin_kind == offset_origin.