|
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. | |
Public Member Functions | |
| Expr (const ExprT &expr) | |
Constructor with given expression expr. | |
| 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 expression 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 Member Functions | |
| Expr () | |
| Disallow default constructor. | |
Protected Attributes | |
| ExprT | expr_ |
| Expression. | |
Wrapper for a generic expression template.
This template class serves as a wrapper for all CacheTaylor expression template classes.
Definition at line 47 of file Sacado_Tay_CacheTaylorExpr.hpp.
| typedef ExprT::value_type Sacado::Tay::Expr< ExprT >::value_type |
Typename of values.
Reimplemented in Sacado::Tay::CacheTaylor< double >.
Definition at line 52 of file Sacado_Tay_CacheTaylorExpr.hpp.
| Sacado::Tay::Expr< ExprT >::Expr | ( | const ExprT & | expr | ) | [inline, explicit] |
Constructor with given expression expr.
Definition at line 55 of file Sacado_Tay_CacheTaylorExpr.hpp.
| Sacado::Tay::Expr< ExprT >::Expr | ( | ) | [inline, protected] |
Disallow default constructor.
Definition at line 77 of file Sacado_Tay_CacheTaylorExpr.hpp.
| void Sacado::Tay::Expr< ExprT >::allocateCache | ( | unsigned int | d | ) | const [inline] |
Allocate coefficient cache.
Definition at line 58 of file Sacado_Tay_CacheTaylorExpr.hpp.
| unsigned int Sacado::Tay::Expr< ExprT >::degree | ( | ) | const [inline] |
Return degree of polynomial.
Definition at line 61 of file Sacado_Tay_CacheTaylorExpr.hpp.
| bool Sacado::Tay::Expr< ExprT >::hasFastAccess | ( | unsigned int | d | ) | const [inline] |
Return if expression has fast access.
Definition at line 64 of file Sacado_Tay_CacheTaylorExpr.hpp.
| value_type Sacado::Tay::Expr< ExprT >::coeff | ( | unsigned int | i | ) | const [inline] |
Return degree i term of expression.
Definition at line 68 of file Sacado_Tay_CacheTaylorExpr.hpp.
| value_type Sacado::Tay::Expr< ExprT >::fastAccessCoeff | ( | unsigned int | i | ) | const [inline] |
Return degree i term of expression.
Definition at line 71 of file Sacado_Tay_CacheTaylorExpr.hpp.
ExprT Sacado::Tay::Expr< ExprT >::expr_ [protected] |
Expression.
Definition at line 80 of file Sacado_Tay_CacheTaylorExpr.hpp.
1.7.4