TRIQS/nda 1.3.0
Multi-dimensional array library for C++
|
#include <nda/layout/range.hpp>
Mimics Python's ... syntax.
While itertools's range::all_t mimics Python's :, ellipsis mimics Python's .... It is repeated as much as necessary to match the number of dimensions of an array/view when used to access elements/slices.