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
Declared in <boost/multi/restriction.hpp>
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