![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Expression-template node interpreting a vector expression E as a column matrix via the per-element functor F. More...
#include <MatrixExpression.hpp>
Inheritance diagram for CDPL::Math::VectorMatrixUnary< E, F >:Public Types | |
| typedef F::ResultType | ValueType |
| The element value type of the expression (the functor's result type). More... | |
| typedef const ValueType | ConstReference |
| Constant reference type to an element value. More... | |
| typedef const ValueType | Reference |
Mutable reference type (degrades to const for expression-template results). More... | |
| typedef const SelfType | ConstClosureType |
| Constant closure type used when this expression appears inside another expression. More... | |
| typedef SelfType | ClosureType |
| Closure type used when this expression appears inside another expression. More... | |
| typedef E::SizeType | SizeType |
| The size type inherited from the wrapped vector expression. More... | |
| typedef E::DifferenceType | DifferenceType |
| The signed difference type inherited from the wrapped vector expression. More... | |
Public Types inherited from CDPL::Math::MatrixExpression< VectorMatrixUnary< E, F > > | |
| typedef VectorMatrixUnary< E, F > | ExpressionType |
| The derived matrix expression type. More... | |
Public Types inherited from CDPL::Math::Expression< E > | |
| typedef E | ExpressionType |
| The derived expression type (made available to expression-template machinery). More... | |
Public Member Functions | |
| VectorMatrixUnary (const ExpressionType &e) | |
| Constructs the expression-template node wrapping the vector expression e. More... | |
| SizeType | getSize1 () const |
| Returns the wrapped vector expression's size (used as the number of rows of the resulting matrix view). More... | |
| SizeType | getSize2 () const |
| Returns the wrapped vector expression's size (used as the number of columns of the resulting matrix view). More... | |
| ConstReference | operator() (SizeType i, SizeType j) const |
| Applies the functor to the wrapped vector expression and the index pair (i, j) to produce the matrix element. More... | |
Public Member Functions inherited from CDPL::Math::MatrixExpression< VectorMatrixUnary< E, F > > | |
| const ExpressionType & | operator() () const |
Returns a const reference to the derived matrix expression. More... | |
| ExpressionType & | operator() () |
| Returns a reference to the derived matrix expression. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from CDPL::Math::MatrixExpression< VectorMatrixUnary< E, F > > | |
| MatrixExpression () | |
| ~MatrixExpression () | |
Protected Member Functions inherited from CDPL::Math::Expression< E > | |
| Expression () | |
| ~Expression () | |
Expression-template node interpreting a vector expression E as a column matrix via the per-element functor F.
| E | The wrapped vector expression type. |
| F | The unary functor type producing matrix elements from vector elements. |
| typedef F::ResultType CDPL::Math::VectorMatrixUnary< E, F >::ValueType |
The element value type of the expression (the functor's result type).
| typedef const ValueType CDPL::Math::VectorMatrixUnary< E, F >::ConstReference |
Constant reference type to an element value.
| typedef const ValueType CDPL::Math::VectorMatrixUnary< E, F >::Reference |
Mutable reference type (degrades to const for expression-template results).
| typedef const SelfType CDPL::Math::VectorMatrixUnary< E, F >::ConstClosureType |
Constant closure type used when this expression appears inside another expression.
| typedef SelfType CDPL::Math::VectorMatrixUnary< E, F >::ClosureType |
Closure type used when this expression appears inside another expression.
| typedef E::SizeType CDPL::Math::VectorMatrixUnary< E, F >::SizeType |
The size type inherited from the wrapped vector expression.
| typedef E::DifferenceType CDPL::Math::VectorMatrixUnary< E, F >::DifferenceType |
The signed difference type inherited from the wrapped vector expression.
|
inline |
Constructs the expression-template node wrapping the vector expression e.
| e | The vector expression to wrap. |
|
inline |
Returns the wrapped vector expression's size (used as the number of rows of the resulting matrix view).
|
inline |
Returns the wrapped vector expression's size (used as the number of columns of the resulting matrix view).
|
inline |
Applies the functor to the wrapped vector expression and the index pair (i, j) to produce the matrix element.
| i | The zero-based row index. |
| j | The zero-based column index. |