ndarray
NumPy-friendly multidimensional arrays in C++
|
Public Types | |
typedef ExpressionTraits< CountingExpression >::Element | Element |
typedef ExpressionTraits< CountingExpression >::ND | ND |
typedef ExpressionTraits< CountingExpression >::Iterator | Iterator |
typedef ExpressionTraits< CountingExpression >::Value | Value |
typedef ExpressionTraits< CountingExpression >::Reference | Reference |
typedef Vector< int, 1 > | Index |
Public Types inherited from ndarray::ExpressionBase< CountingExpression > | |
typedef ExpressionTraits< CountingExpression >::Element | Element |
Data type of expression elements. | |
typedef ExpressionTraits< CountingExpression >::ND | ND |
Number of dimensions (boost::mpl::int_). | |
typedef ExpressionTraits< CountingExpression >::Iterator | Iterator |
Nested expression or element iterator. | |
typedef ExpressionTraits< CountingExpression >::Reference | Reference |
Nested expression or element reference. | |
typedef ExpressionTraits< CountingExpression >::Value | Value |
Nested expression or element value type. | |
typedef Vector< Size, ND::value > | Index |
Vector type for N-dimensional indices. | |
typedef CountingExpression | Self |
CRTP derived type. | |
typedef Value | value_type |
typedef Iterator | iterator |
typedef Iterator | const_iterator |
typedef Reference | reference |
typedef Reference | const_reference |
typedef Iterator | pointer |
typedef Offset | difference_type |
typedef Size | size_type |
Public Member Functions | |
CountingExpression (int stop=0) | |
Reference | operator[] (int n) const |
Iterator | begin () const |
Iterator | end () const |
template<int P> | |
int | getSize () const |
Index | getShape () const |
Public Member Functions inherited from ndarray::ExpressionBase< CountingExpression > | |
Reference | operator[] (Size n) const |
Return a single nested expression or element. | |
Reference | front () const |
Return the first nested expression or element. | |
Reference | back () const |
Return the last nested expression or element. | |
Iterator | begin () const |
Return an Iterator to the beginning of the expression. | |
Iterator | end () const |
Return an Iterator to one past the end of the expression. | |
Size | getSize () const |
Return the size of a specific dimension. | |
Index | getShape () const |
Return a Vector of the sizes of all dimensions. | |
Size | getNumElements () const |
Return the total number of elements in the expression. | |
size_type | size () const |
Return the size of the first dimension. | |
bool | empty () const |
Return true if the first dimension has no elements. | |
Additional Inherited Members | |
Protected Member Functions inherited from ndarray::ExpressionBase< CountingExpression > | |
Self & | getSelf () |
Self const & | getSelf () const |