![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Expression-template node combining a scalar E1 (lhs), a quaternion expression E2 (middle), and a scalar E3 (rhs) via the per-component ternary functor F. More...
#include <QuaternionExpression.hpp>
Inheritance diagram for CDPL::Math::Scalar13QuaternionTernary< E1, E2, E3, 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 a component 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... | |
Public Types inherited from CDPL::Math::QuaternionExpression< Scalar13QuaternionTernary< E1, E2, E3, F > > | |
| typedef Scalar13QuaternionTernary< E1, E2, E3, F > | ExpressionType |
| The derived quaternion 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 | |
| Scalar13QuaternionTernary (const Expression1Type &e1, const Expression2Type &e2, const Expression3Type &e3) | |
| Constructs the expression-template node combining the two scalars and the wrapped quaternion expression. More... | |
| ConstReference | getC1 () const |
Returns the result of applying the functor's applyC1 method to the two scalars and the wrapped expression. More... | |
| ConstReference | getC2 () const |
Returns the result of applying the functor's applyC2 method to the two scalars and the wrapped expression. More... | |
| ConstReference | getC3 () const |
Returns the result of applying the functor's applyC3 method to the two scalars and the wrapped expression. More... | |
| ConstReference | getC4 () const |
Returns the result of applying the functor's applyC4 method to the two scalars and the wrapped expression. More... | |
Public Member Functions inherited from CDPL::Math::QuaternionExpression< Scalar13QuaternionTernary< E1, E2, E3, F > > | |
| const ExpressionType & | operator() () const |
Returns a const reference to the derived quaternion expression. More... | |
| ExpressionType & | operator() () |
| Returns a reference to the derived quaternion expression. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from CDPL::Math::QuaternionExpression< Scalar13QuaternionTernary< E1, E2, E3, F > > | |
| QuaternionExpression () | |
| ~QuaternionExpression () | |
Protected Member Functions inherited from CDPL::Math::Expression< E > | |
| Expression () | |
| ~Expression () | |
Expression-template node combining a scalar E1 (lhs), a quaternion expression E2 (middle), and a scalar E3 (rhs) via the per-component ternary functor F.
| E1 | The scalar type appearing on the left-hand side. |
| E2 | The wrapped quaternion expression type. |
| E3 | The scalar type appearing on the right-hand side. |
| F | The per-component ternary functor type. |
| typedef F::ResultType CDPL::Math::Scalar13QuaternionTernary< E1, E2, E3, F >::ValueType |
The element value type of the expression (the functor's result type).
| typedef const ValueType CDPL::Math::Scalar13QuaternionTernary< E1, E2, E3, F >::ConstReference |
Constant reference type to a component value.
| typedef const ValueType CDPL::Math::Scalar13QuaternionTernary< E1, E2, E3, F >::Reference |
Mutable reference type (degrades to const for expression-template results).
| typedef const SelfType CDPL::Math::Scalar13QuaternionTernary< E1, E2, E3, F >::ConstClosureType |
Constant closure type used when this expression appears inside another expression.
| typedef SelfType CDPL::Math::Scalar13QuaternionTernary< E1, E2, E3, F >::ClosureType |
Closure type used when this expression appears inside another expression.
|
inline |
Constructs the expression-template node combining the two scalars and the wrapped quaternion expression.
| e1 | The scalar value on the left-hand side. |
| e2 | The wrapped quaternion expression. |
| e3 | The scalar value on the right-hand side. |
|
inline |
Returns the result of applying the functor's applyC1 method to the two scalars and the wrapped expression.
|
inline |
Returns the result of applying the functor's applyC2 method to the two scalars and the wrapped expression.
|
inline |
Returns the result of applying the functor's applyC3 method to the two scalars and the wrapped expression.
|
inline |
Returns the result of applying the functor's applyC4 method to the two scalars and the wrapped expression.