ndarray
NumPy-friendly multidimensional arrays in C++
|
Dimension-specialized traits shared by Array and ArrayRef. More...
#include <ArrayTraits.h>
Public Types | |
typedef T | Element |
typedef boost::mpl::int_< N > | ND |
typedef boost::mpl::int_< C > | RMC |
typedef detail::NestedIterator< T, N, C > | Iterator |
typedef ArrayRef< T, N-1,(N==C)?(N-1):((C >0)?C:0)> | Reference |
typedef Array< T, N-1,(N==C)?(N-1):((C >0)?C:0)> | Value |
typedef detail::Core< N > | Core |
typedef Core::ConstPtr | CorePtr |
Static Public Member Functions | |
static Reference | makeReference (Element *data, CorePtr const &core) |
static Iterator | makeIterator (Element *data, CorePtr const &core, Offset stride) |
static void | fill (Iterator iter, Iterator const &end, Element value) |