ndarray
NumPy-friendly multidimensional arrays in C++
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
ndarray::detail::BinaryOpExpression< Operand1, Operand2, BinaryFunction, N > Class Template Reference
Inheritance diagram for ndarray::detail::BinaryOpExpression< Operand1, Operand2, BinaryFunction, N >:
ndarray::ExpressionBase< BinaryOpExpression< Operand1, Operand2, BinaryFunction, N > >

Public Types

typedef ExpressionTraits< Self >::Element Element
 
typedef ExpressionTraits< Self >::ND ND
 
typedef ExpressionTraits< Self >::Iterator Iterator
 
typedef ExpressionTraits< Self >::Value Value
 
typedef ExpressionTraits< Self >::Reference Reference
 
typedef Vector< Size, N > Index
 
- Public Types inherited from ndarray::ExpressionBase< BinaryOpExpression< Operand1, Operand2, BinaryFunction, N > >
typedef ExpressionTraits< BinaryOpExpression< Operand1, Operand2, BinaryFunction, N > >::Element Element
 Data type of expression elements.
 
typedef ExpressionTraits< BinaryOpExpression< Operand1, Operand2, BinaryFunction, N > >::ND ND
 Number of dimensions (boost::mpl::int_).
 
typedef ExpressionTraits< BinaryOpExpression< Operand1, Operand2, BinaryFunction, N > >::Iterator Iterator
 Nested expression or element iterator.
 
typedef ExpressionTraits< BinaryOpExpression< Operand1, Operand2, BinaryFunction, N > >::Reference Reference
 Nested expression or element reference.
 
typedef ExpressionTraits< BinaryOpExpression< Operand1, Operand2, BinaryFunction, N > >::Value Value
 Nested expression or element value type.
 
typedef Vector< Size, ND::value > Index
 Vector type for N-dimensional indices.
 
typedef BinaryOpExpression< Operand1, Operand2, BinaryFunction, N > 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

 BinaryOpExpression (Operand1 const &operand1, Operand2 const &operand2, BinaryFunction const &functor)
 
Reference operator[] (Size n) const
 
Iterator begin () const
 
Iterator end () const
 
template<int P>
Size getSize () const
 
Index getShape () const
 
- Public Member Functions inherited from ndarray::ExpressionBase< BinaryOpExpression< Operand1, Operand2, BinaryFunction, N > >
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.
 

Public Attributes

Operand1 _operand1
 
Operand2 _operand2
 
BinaryFunction _functor
 

Additional Inherited Members

- Protected Member Functions inherited from ndarray::ExpressionBase< BinaryOpExpression< Operand1, Operand2, BinaryFunction, N > >
SelfgetSelf ()
 
Self const & getSelf () const
 

The documentation for this class was generated from the following file: