boost::multi::restriction::diagonal

yields an array restriction of lower dimensionality that holds the diagonal (in the first two dimensions), array must be square (first two sizes equal). (Only for D >= 2).

Synopsis

constexpr
restriction<D ‐ 1, bind_diagonal_t>
diagonal() const;

Return Value

An array interface for a function of D integer arguments restricted to an certain Cartesian grid (extents), elements are generated lazily

Created with MrDocs