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 <UnaryOp.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< UnaryOpExpression< Operand, UnaryFunction, N > > | |
typedef ExpressionTraits < UnaryOpExpression< Operand, UnaryFunction, N > >::Element | Element |
Data type of expression elements. More... | |
typedef ExpressionTraits < UnaryOpExpression< Operand, UnaryFunction, N > >::ND | ND |
Number of dimensions (boost::mpl::int_). More... | |
typedef ExpressionTraits < UnaryOpExpression< Operand, UnaryFunction, N > >::Iterator | Iterator |
Nested expression or element iterator. More... | |
typedef ExpressionTraits < UnaryOpExpression< Operand, UnaryFunction, N > >::Reference | Reference |
Nested expression or element reference. More... | |
typedef ExpressionTraits < UnaryOpExpression< Operand, UnaryFunction, N > >::Value | Value |
Nested expression or element value type. More... | |
typedef Vector< int, ND::value > | Index |
Vector type for N-dimensional indices. More... | |
typedef UnaryOpExpression < Operand, UnaryFunction, 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 | |
UnaryOpExpression (Operand const &operand, UnaryFunction 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< UnaryOpExpression< Operand, UnaryFunction, 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 | |
Operand | _operand |
UnaryFunction | _functor |
Private Types | |
typedef UnaryOpExpression < Operand, UnaryFunction, N > | Self |
Additional Inherited Members | |
Protected Member Functions inherited from ndarray::ExpressionBase< UnaryOpExpression< Operand, UnaryFunction, N > > | |
Self & | getSelf () |
Self const & | getSelf () const |
typedef ExpressionTraits<Self>::Element ndarray::detail::UnaryOpExpression< Operand, UnaryFunction, N >::Element |
typedef Vector<int,N> ndarray::detail::UnaryOpExpression< Operand, UnaryFunction, N >::Index |
typedef ExpressionTraits<Self>::Iterator ndarray::detail::UnaryOpExpression< Operand, UnaryFunction, N >::Iterator |
typedef ExpressionTraits<Self>::ND ndarray::detail::UnaryOpExpression< Operand, UnaryFunction, N >::ND |
typedef ExpressionTraits<Self>::Reference ndarray::detail::UnaryOpExpression< Operand, UnaryFunction, N >::Reference |
|
private |
typedef ExpressionTraits<Self>::Value ndarray::detail::UnaryOpExpression< Operand, UnaryFunction, N >::Value |
|
inline |
|
inline |
Definition at line 103 of file UnaryOp.h.
|
inline |
Definition at line 107 of file UnaryOp.h.
|
inline |
|
inline |
|
inline |
Definition at line 99 of file UnaryOp.h.
UnaryFunction ndarray::detail::UnaryOpExpression< Operand, UnaryFunction, N >::_functor |
Operand ndarray::detail::UnaryOpExpression< Operand, UnaryFunction, N >::_operand |