Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
Binary expression template with second argument constant. More...
#include <Sacado_Tay_CacheTaylorExpr.hpp>
Public Types | |
typedef ConstExpr< typename ExprT1::value_type > | ExprT2 |
Typename of constant expression. More... | |
typedef ExprT1::value_type | value_type |
Typename of the second argument value. More... | |
typedef ExprT1::scalar_type | scalar_type |
typedef ExprT1::base_expr_type | base_expr_type |
Public Member Functions | |
BinaryExpr (const ExprT1 &expr1, const ExprT2 &expr2) | |
Constructor. More... | |
void | allocateCache (unsigned int d) const |
Allocate coefficient cache. More... | |
unsigned int | degree () const |
Return degree of polynomial. More... | |
bool | hasFastAccess (unsigned int d) const |
Return if operation has fast access. More... | |
value_type | coeff (unsigned int i) const |
Return degree i term of expression. More... | |
value_type | fastAccessCoeff (unsigned int i) const |
eturn degree i term of expression More... | |
Protected Attributes | |
ExprT1 | expr1_ |
Left argument. More... | |
ExprT2 | expr2_ |
Right argument. More... | |
Op< ExprT1, ExprT2 > | op_ |
Operator. More... | |
Binary expression template with second 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 337 of file Sacado_Tay_CacheTaylorExpr.hpp.
typedef ConstExpr<typename ExprT1::value_type> Sacado::Tay::BinaryExpr< ExprT1, ConstExpr< typename ExprT1::value_type >, Op >::ExprT2 |
Typename of constant expression.
Definition at line 342 of file Sacado_Tay_CacheTaylorExpr.hpp.
typedef ExprT1::value_type Sacado::Tay::BinaryExpr< ExprT1, ConstExpr< typename ExprT1::value_type >, Op >::value_type |
Typename of the second argument value.
Definition at line 345 of file Sacado_Tay_CacheTaylorExpr.hpp.
typedef ExprT1::scalar_type Sacado::Tay::BinaryExpr< ExprT1, ConstExpr< typename ExprT1::value_type >, Op >::scalar_type |
Definition at line 346 of file Sacado_Tay_CacheTaylorExpr.hpp.
typedef ExprT1::base_expr_type Sacado::Tay::BinaryExpr< ExprT1, ConstExpr< typename ExprT1::value_type >, Op >::base_expr_type |
Definition at line 347 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Constructor.
Definition at line 350 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Allocate coefficient cache.
Definition at line 354 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return degree of polynomial.
Definition at line 360 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return if operation has fast access.
Definition at line 365 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return degree i
term of expression.
Definition at line 369 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
eturn degree i
term of expression
Definition at line 373 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
protected |
Left argument.
Definition at line 380 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
protected |
Right argument.
Definition at line 383 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
protected |
Operator.
Definition at line 386 of file Sacado_Tay_CacheTaylorExpr.hpp.