|
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. | |
Public Member Functions | |
| UnaryExpr (const ExprT &expr) | |
| 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 derivative component i of operation. | |
Protected Attributes | |
| ExprT | expr_ |
| Left argument. | |
| Op< ExprT > | op_ |
| Operator. | |
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 133 of file Sacado_Tay_CacheTaylorExpr.hpp.
| typedef ExprT::value_type Sacado::Tay::UnaryExpr< ExprT, Op >::value_type |
Typename of argument value.
Definition at line 138 of file Sacado_Tay_CacheTaylorExpr.hpp.
| Sacado::Tay::UnaryExpr< ExprT, Op >::UnaryExpr | ( | const ExprT & | expr | ) | [inline] |
Constructor.
Definition at line 141 of file Sacado_Tay_CacheTaylorExpr.hpp.
| void Sacado::Tay::UnaryExpr< ExprT, Op >::allocateCache | ( | unsigned int | d | ) | const [inline] |
Allocate coefficient cache.
Definition at line 144 of file Sacado_Tay_CacheTaylorExpr.hpp.
| unsigned int Sacado::Tay::UnaryExpr< ExprT, Op >::degree | ( | ) | const [inline] |
Return degree of polynomial.
Definition at line 150 of file Sacado_Tay_CacheTaylorExpr.hpp.
| bool Sacado::Tay::UnaryExpr< ExprT, Op >::hasFastAccess | ( | unsigned int | d | ) | const [inline] |
Return if operation has fast access.
Definition at line 153 of file Sacado_Tay_CacheTaylorExpr.hpp.
| value_type Sacado::Tay::UnaryExpr< ExprT, Op >::coeff | ( | unsigned int | i | ) | const [inline] |
Return degree i term of expression.
Definition at line 157 of file Sacado_Tay_CacheTaylorExpr.hpp.
| value_type Sacado::Tay::UnaryExpr< ExprT, Op >::fastAccessCoeff | ( | unsigned int | i | ) | const [inline] |
Return derivative component i of operation.
Definition at line 161 of file Sacado_Tay_CacheTaylorExpr.hpp.
ExprT Sacado::Tay::UnaryExpr< ExprT, Op >::expr_ [protected] |
Left argument.
Definition at line 168 of file Sacado_Tay_CacheTaylorExpr.hpp.
Op<ExprT> Sacado::Tay::UnaryExpr< ExprT, Op >::op_ [protected] |
Operator.
Definition at line 171 of file Sacado_Tay_CacheTaylorExpr.hpp.
1.7.4