|
Sacado Package Browser (Single Doxygen Collection) Version of the Day
|
Binary expression template. More...
#include <Sacado_Tay_CacheTaylorExpr.hpp>
Public Types | |
| typedef ExprT1::value_type | value_type_1 |
| Typename of the first argument value. | |
| typedef ExprT2::value_type | value_type_2 |
| Typename of the second argument value. | |
| typedef Sacado::Promote < value_type_1, value_type_2 > ::type | value_type |
| Typename of the expression values. | |
Public Member Functions | |
| BinaryExpr (const ExprT1 &expr1, const ExprT2 &expr2) | |
| Constructor. | |
| void | allocateCache (unsigned int d) const |
| Allocate coefficient cache. | |
| unsigned int | degree () const |
| Return degree of polynomial. | |
| bool | hasFastAccess (unsigned int d) const |
| Return if operation has fast access. | |
| value_type | coeff (unsigned int i) const |
Return degree i term of expression. | |
| value_type | fastAccessCoeff (unsigned int i) const |
Return degree i term of expression. | |
Protected Attributes | |
| ExprT1 | expr1_ |
| Left argument. | |
| ExprT2 | expr2_ |
| Right argument. | |
| Op< ExprT1, ExprT2 > | op_ |
| Operator. | |
Binary expression template.
This template class represents a binary operation of the form op(a1,a2) where a1 is the left argument of type ExprT1, r is the right argument of type ExprT2, and op is the operation represented by type Op. The operation is evaluated by the static methods Op::computeValue() and Op::computeDx().
Definition at line 185 of file Sacado_Tay_CacheTaylorExpr.hpp.
| typedef ExprT1::value_type Sacado::Tay::BinaryExpr< ExprT1, ExprT2, Op >::value_type_1 |
Typename of the first argument value.
Definition at line 190 of file Sacado_Tay_CacheTaylorExpr.hpp.
| typedef ExprT2::value_type Sacado::Tay::BinaryExpr< ExprT1, ExprT2, Op >::value_type_2 |
Typename of the second argument value.
Definition at line 193 of file Sacado_Tay_CacheTaylorExpr.hpp.
| typedef Sacado::Promote<value_type_1, value_type_2>::type Sacado::Tay::BinaryExpr< ExprT1, ExprT2, Op >::value_type |
Typename of the expression values.
Definition at line 197 of file Sacado_Tay_CacheTaylorExpr.hpp.
| Sacado::Tay::BinaryExpr< ExprT1, ExprT2, Op >::BinaryExpr | ( | const ExprT1 & | expr1, |
| const ExprT2 & | expr2 | ||
| ) | [inline] |
Constructor.
Definition at line 200 of file Sacado_Tay_CacheTaylorExpr.hpp.
| void Sacado::Tay::BinaryExpr< ExprT1, ExprT2, Op >::allocateCache | ( | unsigned int | d | ) | const [inline] |
Allocate coefficient cache.
Definition at line 204 of file Sacado_Tay_CacheTaylorExpr.hpp.
| unsigned int Sacado::Tay::BinaryExpr< ExprT1, ExprT2, Op >::degree | ( | ) | const [inline] |
Return degree of polynomial.
Definition at line 211 of file Sacado_Tay_CacheTaylorExpr.hpp.
| bool Sacado::Tay::BinaryExpr< ExprT1, ExprT2, Op >::hasFastAccess | ( | unsigned int | d | ) | const [inline] |
Return if operation has fast access.
Definition at line 217 of file Sacado_Tay_CacheTaylorExpr.hpp.
| value_type Sacado::Tay::BinaryExpr< ExprT1, ExprT2, Op >::coeff | ( | unsigned int | i | ) | const [inline] |
Return degree i term of expression.
Definition at line 221 of file Sacado_Tay_CacheTaylorExpr.hpp.
| value_type Sacado::Tay::BinaryExpr< ExprT1, ExprT2, Op >::fastAccessCoeff | ( | unsigned int | i | ) | const [inline] |
Return degree i term of expression.
Definition at line 225 of file Sacado_Tay_CacheTaylorExpr.hpp.
ExprT1 Sacado::Tay::BinaryExpr< ExprT1, ExprT2, Op >::expr1_ [protected] |
Left argument.
Definition at line 232 of file Sacado_Tay_CacheTaylorExpr.hpp.
ExprT2 Sacado::Tay::BinaryExpr< ExprT1, ExprT2, Op >::expr2_ [protected] |
Right argument.
Definition at line 235 of file Sacado_Tay_CacheTaylorExpr.hpp.
Op<ExprT1,ExprT2> Sacado::Tay::BinaryExpr< ExprT1, ExprT2, Op >::op_ [protected] |
Operator.
Definition at line 238 of file Sacado_Tay_CacheTaylorExpr.hpp.
1.7.4