Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
Unary expression template. More...
#include <Sacado_Tay_CacheTaylorExpr.hpp>
Public Types | |
typedef ExprT::value_type | value_type |
Typename of argument value. More... | |
typedef ExprT::scalar_type | scalar_type |
Typename of scalar's (which may be different from value_type) More... | |
typedef ExprT::base_expr_type | base_expr_type |
Typename of base-expressions. More... | |
Public Member Functions | |
UnaryExpr (const ExprT &expr) | |
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 |
Return derivative component i of operation. More... | |
Protected Attributes | |
ExprT | expr_ |
Left argument. More... | |
Op< ExprT > | op_ |
Operator. More... | |
Unary expression template.
This template class represents a unary operation of the form op(a) where a is the argument of type ExprT
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 143 of file Sacado_Tay_CacheTaylorExpr.hpp.
typedef ExprT::value_type Sacado::Tay::UnaryExpr< ExprT, Op >::value_type |
Typename of argument value.
Definition at line 148 of file Sacado_Tay_CacheTaylorExpr.hpp.
typedef ExprT::scalar_type Sacado::Tay::UnaryExpr< ExprT, Op >::scalar_type |
Typename of scalar's (which may be different from value_type)
Definition at line 151 of file Sacado_Tay_CacheTaylorExpr.hpp.
typedef ExprT::base_expr_type Sacado::Tay::UnaryExpr< ExprT, Op >::base_expr_type |
Typename of base-expressions.
Definition at line 154 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Constructor.
Definition at line 157 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Allocate coefficient cache.
Definition at line 160 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return degree of polynomial.
Definition at line 166 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return if operation has fast access.
Definition at line 169 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return degree i
term of expression.
Definition at line 173 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return derivative component i
of operation.
Definition at line 177 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
protected |
Left argument.
Definition at line 184 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
protected |
Operator.
Definition at line 187 of file Sacado_Tay_CacheTaylorExpr.hpp.