LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
|
#include <BinaryOp.h>
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< int, 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. More... | |
typedef ExpressionTraits < BinaryOpExpression< Operand1, Operand2, BinaryFunction, N > >::ND | ND |
Number of dimensions (boost::mpl::int_). More... | |
typedef ExpressionTraits < BinaryOpExpression< Operand1, Operand2, BinaryFunction, N > >::Iterator | Iterator |
Nested expression or element iterator. More... | |
typedef ExpressionTraits < BinaryOpExpression< Operand1, Operand2, BinaryFunction, N > >::Reference | Reference |
Nested expression or element reference. More... | |
typedef ExpressionTraits < BinaryOpExpression< Operand1, Operand2, BinaryFunction, N > >::Value | Value |
Nested expression or element value type. More... | |
typedef Vector< int, ND::value > | Index |
Vector type for N-dimensional indices. More... | |
typedef BinaryOpExpression < Operand1, Operand2, BinaryFunction, N > | Self |
CRTP derived type. More... | |
typedef Value | value_type |
typedef Iterator | iterator |
typedef Iterator | const_iterator |
typedef Reference | reference |
typedef Reference | const_reference |
typedef Iterator | pointer |
typedef int | difference_type |
typedef int | size_type |
Public Member Functions | |
BinaryOpExpression (Operand1 const &operand1, Operand2 const &operand2, BinaryFunction const &functor) | |
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< BinaryOpExpression< Operand1, Operand2, BinaryFunction, N > > | |
Reference | operator[] (int n) const |
Return a single nested expression or element. More... | |
Reference | front () const |
Return the first nested expression or element. More... | |
Reference | back () const |
Return the last nested expression or element. More... | |
Iterator | begin () const |
Return an Iterator to the beginning of the expression. More... | |
Iterator | end () const |
Return an Iterator to one past the end of the expression. More... | |
int | getSize () const |
Return the size of a specific dimension. More... | |
Index | getShape () const |
Return a Vector of the sizes of all dimensions. More... | |
int | getNumElements () const |
Return the total number of elements in the expression. More... | |
size_type | size () const |
Return the size of the first dimension. More... | |
bool | empty () const |
Return true if the first dimension has no elements. More... | |
Public Attributes | |
Operand1 | _operand1 |
Operand2 | _operand2 |
BinaryFunction | _functor |
Private Types | |
typedef BinaryOpExpression < Operand1, Operand2, BinaryFunction, N > | Self |
Additional Inherited Members | |
Protected Member Functions inherited from ndarray::ExpressionBase< BinaryOpExpression< Operand1, Operand2, BinaryFunction, N > > | |
Self & | getSelf () |
Self const & | getSelf () const |
Definition at line 103 of file BinaryOp.h.
typedef ExpressionTraits<Self>::Element ndarray::detail::BinaryOpExpression< Operand1, Operand2, BinaryFunction, N >::Element |
Definition at line 106 of file BinaryOp.h.
typedef Vector<int,N> ndarray::detail::BinaryOpExpression< Operand1, Operand2, BinaryFunction, N >::Index |
Definition at line 111 of file BinaryOp.h.
typedef ExpressionTraits<Self>::Iterator ndarray::detail::BinaryOpExpression< Operand1, Operand2, BinaryFunction, N >::Iterator |
Definition at line 108 of file BinaryOp.h.
typedef ExpressionTraits<Self>::ND ndarray::detail::BinaryOpExpression< Operand1, Operand2, BinaryFunction, N >::ND |
Definition at line 107 of file BinaryOp.h.
typedef ExpressionTraits<Self>::Reference ndarray::detail::BinaryOpExpression< Operand1, Operand2, BinaryFunction, N >::Reference |
Definition at line 110 of file BinaryOp.h.
|
private |
Definition at line 104 of file BinaryOp.h.
typedef ExpressionTraits<Self>::Value ndarray::detail::BinaryOpExpression< Operand1, Operand2, BinaryFunction, N >::Value |
Definition at line 109 of file BinaryOp.h.
|
inline |
Definition at line 113 of file BinaryOp.h.
|
inline |
Definition at line 126 of file BinaryOp.h.
|
inline |
Definition at line 130 of file BinaryOp.h.
|
inline |
Definition at line 138 of file BinaryOp.h.
|
inline |
Definition at line 134 of file BinaryOp.h.
|
inline |
Definition at line 122 of file BinaryOp.h.
BinaryFunction ndarray::detail::BinaryOpExpression< Operand1, Operand2, BinaryFunction, N >::_functor |
Definition at line 144 of file BinaryOp.h.
Operand1 ndarray::detail::BinaryOpExpression< Operand1, Operand2, BinaryFunction, N >::_operand1 |
Definition at line 142 of file BinaryOp.h.
Operand2 ndarray::detail::BinaryOpExpression< Operand1, Operand2, BinaryFunction, N >::_operand2 |
Definition at line 143 of file BinaryOp.h.