-
#include "tensorstore/util/iterate.h" - class tensorstore::LayoutOrderConstraint;
Specifies an order constraint on a strided layout/iteration order, equivalent to an algebraic sum of
ContiguousLayoutOrderandunspecified_order.There are three possible values:
c_order(must be in C order),fortran_order(must be in Fortran order), andunspecified_order(no constraint on order).Conversion operators¶
- explicit constexpr operator bool() const;
Returns
trueif the order is constrained.
Methods¶
- constexpr ContiguousLayoutOrder order() const;
- constexpr int value() const;
Returns the order.