|
Sacado Package Browser (Single Doxygen Collection) Version of the Day
|
Binary expression template with first argument constant. More...
#include <Sacado_Tay_CacheTaylorExpr.hpp>

Public Types | |
| typedef ConstExpr< typename ExprT2::value_type > | ExprT1 |
| Typename of constant expression. | |
| typedef ExprT2::value_type | value_type |
| Typename of the second argument value. | |
| typedef ExprT2::scalar_type | scalar_type |
| typedef ExprT2::base_expr_type | base_expr_type |
| typedef ConstExpr< typename ExprT2::value_type >::value_type | value_type_1 |
| Typename of the expression values. | |
| typedef ExprT2::value_type | value_type_2 |
| typedef Sacado::Promote< value_type_1, value_type_2 >::type | value_type |
| typedef ConstExpr< typename ExprT2::value_type >::scalar_type | scalar_type_1 |
| Typename of the expression scalars. | |
| typedef ExprT2::scalar_type | scalar_type_2 |
| typedef Sacado::Promote< scalar_type_1, scalar_type_2 >::type | scalar_type |
| typedef ConstExpr< typename ExprT2::value_type >::base_expr_type | base_expr_type_1 |
| Typename of the base expression. | |
| typedef ExprT2::base_expr_type | base_expr_type_2 |
| typedef Sacado::Promote< base_expr_type_1, base_expr_type_2 >::type | base_expr_type |
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. | |
| BinaryExpr (const ConstExpr< typename ExprT2::value_type > &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. | |
| ConstExpr< typename ExprT2::value_type > | expr1_ |
| Left argument. | |
| ExprT2 | expr2_ |
| Right argument. | |
| Op< ConstExpr< typename ExprT2::value_type >, ExprT2 > | op_ |
| Operator. | |
Binary expression template with first argument constant.
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 275 of file Sacado_Tay_CacheTaylorExpr.hpp.
| typedef ConstExpr<typename ExprT2::value_type> Sacado::Tay::BinaryExpr< ConstExpr< typename ExprT2::value_type >, ExprT2, Op >::ExprT1 |
Typename of constant expression.
Definition at line 280 of file Sacado_Tay_CacheTaylorExpr.hpp.
| typedef ExprT2::value_type Sacado::Tay::BinaryExpr< ConstExpr< typename ExprT2::value_type >, ExprT2, Op >::value_type |
Typename of the second argument value.
Definition at line 283 of file Sacado_Tay_CacheTaylorExpr.hpp.
| typedef ExprT2::scalar_type Sacado::Tay::BinaryExpr< ConstExpr< typename ExprT2::value_type >, ExprT2, Op >::scalar_type |
Definition at line 284 of file Sacado_Tay_CacheTaylorExpr.hpp.
| typedef ExprT2::base_expr_type Sacado::Tay::BinaryExpr< ConstExpr< typename ExprT2::value_type >, ExprT2, Op >::base_expr_type |
Definition at line 285 of file Sacado_Tay_CacheTaylorExpr.hpp.
| typedef ConstExpr< typename ExprT2::value_type >::value_type Sacado::Tay::BinaryExpr< ConstExpr< typename ExprT2::value_type >, ExprT2, Op >::value_type_1 |
Typename of the expression values.
Definition at line 206 of file Sacado_Tay_CacheTaylorExpr.hpp.
| typedef ExprT2::value_type Sacado::Tay::BinaryExpr< ConstExpr< typename ExprT2::value_type >, ExprT2, Op >::value_type_2 |
Definition at line 207 of file Sacado_Tay_CacheTaylorExpr.hpp.
| typedef Sacado::Promote<value_type_1,value_type_2>::type Sacado::Tay::BinaryExpr< ConstExpr< typename ExprT2::value_type >, ExprT2, Op >::value_type |
Definition at line 209 of file Sacado_Tay_CacheTaylorExpr.hpp.
| typedef ConstExpr< typename ExprT2::value_type >::scalar_type Sacado::Tay::BinaryExpr< ConstExpr< typename ExprT2::value_type >, ExprT2, Op >::scalar_type_1 |
Typename of the expression scalars.
Definition at line 212 of file Sacado_Tay_CacheTaylorExpr.hpp.
| typedef ExprT2::scalar_type Sacado::Tay::BinaryExpr< ConstExpr< typename ExprT2::value_type >, ExprT2, Op >::scalar_type_2 |
Definition at line 213 of file Sacado_Tay_CacheTaylorExpr.hpp.
| typedef Sacado::Promote<scalar_type_1,scalar_type_2>::type Sacado::Tay::BinaryExpr< ConstExpr< typename ExprT2::value_type >, ExprT2, Op >::scalar_type |
Definition at line 215 of file Sacado_Tay_CacheTaylorExpr.hpp.
| typedef ConstExpr< typename ExprT2::value_type >::base_expr_type Sacado::Tay::BinaryExpr< ConstExpr< typename ExprT2::value_type >, ExprT2, Op >::base_expr_type_1 |
Typename of the base expression.
Definition at line 218 of file Sacado_Tay_CacheTaylorExpr.hpp.
| typedef ExprT2::base_expr_type Sacado::Tay::BinaryExpr< ConstExpr< typename ExprT2::value_type >, ExprT2, Op >::base_expr_type_2 |
Definition at line 219 of file Sacado_Tay_CacheTaylorExpr.hpp.
| typedef Sacado::Promote<base_expr_type_1,base_expr_type_2>::type Sacado::Tay::BinaryExpr< ConstExpr< typename ExprT2::value_type >, ExprT2, Op >::base_expr_type |
Definition at line 221 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Constructor.
Definition at line 288 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Constructor.
Definition at line 224 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Allocate coefficient cache.
Definition at line 292 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return degree of polynomial.
Definition at line 298 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return if operation has fast access.
Definition at line 303 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return degree i term of expression.
Definition at line 307 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return degree i term of expression.
Definition at line 311 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Allocate coefficient cache.
Definition at line 228 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return degree of polynomial.
Definition at line 235 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return if operation has fast access.
Definition at line 241 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return degree i term of expression.
Definition at line 245 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return degree i term of expression.
Definition at line 249 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
protected |
Left argument.
Definition at line 318 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
protected |
Right argument.
Definition at line 321 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
protected |
Operator.
Definition at line 324 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
protected |
Left argument.
Definition at line 256 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
protected |
Right argument.
Definition at line 259 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
protected |
Operator.
Definition at line 262 of file Sacado_Tay_CacheTaylorExpr.hpp.