Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
Wrapper for a generic expression template. More...
#include <Sacado_Tay_CacheTaylorExpr.hpp>
Public Types | |
typedef ExprT::value_type | value_type |
Typename of values. 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 | |
Expr (const ExprT &expr) | |
Constructor with given expression expr . 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 expression 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 degree i term of expression. More... | |
Protected Member Functions | |
Expr () | |
Disallow default constructor. More... | |
Protected Attributes | |
ExprT | expr_ |
Expression. More... | |
Wrapper for a generic expression template.
This template class serves as a wrapper for all CacheTaylor expression template classes.
Definition at line 45 of file Sacado_Tay_CacheTaylorExpr.hpp.
typedef ExprT::value_type Sacado::Tay::Expr< ExprT >::value_type |
Typename of values.
Definition at line 50 of file Sacado_Tay_CacheTaylorExpr.hpp.
typedef ExprT::scalar_type Sacado::Tay::Expr< ExprT >::scalar_type |
Typename of scalar's (which may be different from value_type)
Definition at line 53 of file Sacado_Tay_CacheTaylorExpr.hpp.
typedef ExprT::base_expr_type Sacado::Tay::Expr< ExprT >::base_expr_type |
Typename of base-expressions.
Definition at line 56 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inlineexplicit |
Constructor with given expression expr
.
Definition at line 59 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inlineprotected |
Disallow default constructor.
Definition at line 81 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Allocate coefficient cache.
Definition at line 62 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return degree of polynomial.
Definition at line 65 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return if expression has fast access.
Definition at line 68 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return degree i
term of expression.
Definition at line 72 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return degree i
term of expression.
Definition at line 75 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
protected |
Expression.
Definition at line 84 of file Sacado_Tay_CacheTaylorExpr.hpp.