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>
|
| | 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...
|
| |
| const ExpressionType & | operator() () const |
| | Returns a const reference to the derived quaternion expression class instance. More...
|
| |
| ExpressionType & | operator() () |
| | Returns a reference to the derived quaternion expression class instance. More...
|
| |
template<typename E1, typename E2, typename E3, typename F>
class CDPL::Math::Scalar13QuaternionTernary< E1, E2, E3, F >
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.
- Template Parameters
-
| 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. |
◆ ValueType
template<typename E1 , typename E2 , typename E3 , typename F >
The element value type of the expression (the functor's result type).
◆ ConstReference
template<typename E1 , typename E2 , typename E3 , typename F >
Constant component reference type.
◆ Reference
template<typename E1 , typename E2 , typename E3 , typename F >
Mutable component reference type (degrades to const for expression template results).
◆ ConstClosureType
template<typename E1 , typename E2 , typename E3 , typename F >
Constant closure type used when this expression appears inside another expression.
◆ ClosureType
template<typename E1 , typename E2 , typename E3 , typename F >
Closure type used when this expression appears inside another expression.
◆ Scalar13QuaternionTernary()
template<typename E1 , typename E2 , typename E3 , typename F >
Constructs the expression template node combining the two scalars and the wrapped quaternion expression.
- Parameters
-
| e1 | The scalar value on the left-hand side. |
| e2 | The wrapped quaternion expression. |
| e3 | The scalar value on the right-hand side. |
◆ getC1()
template<typename E1 , typename E2 , typename E3 , typename F >
Returns the result of applying the functor's applyC1 method to the two scalars and the wrapped expression.
- Returns
- The computed C1 component.
◆ getC2()
template<typename E1 , typename E2 , typename E3 , typename F >
Returns the result of applying the functor's applyC2 method to the two scalars and the wrapped expression.
- Returns
- The computed C2 component.
◆ getC3()
template<typename E1 , typename E2 , typename E3 , typename F >
Returns the result of applying the functor's applyC3 method to the two scalars and the wrapped expression.
- Returns
- The computed C3 component.
◆ getC4()
template<typename E1 , typename E2 , typename E3 , typename F >
Returns the result of applying the functor's applyC4 method to the two scalars and the wrapped expression.
- Returns
- The computed C4 component.
The documentation for this class was generated from the following file: