|
Sacado Development
|
Wrapper for a generic expression template. More...
#include <Sacado_Tay_CacheTaylorExpr.hpp>

Public Types | |
| typedef ExprT::value_type | value_type |
| Typename of values. | |
| typedef ExprT::scalar_type | scalar_type |
| Typename of scalar's (which may be different from value_type). | |
| typedef ExprT::base_expr_type | base_expr_type |
| Typename of base-expressions. | |
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.
|
inlineexplicit |
Constructor with given expression expr.
Referenced by Sacado::Tay::CacheTaylor< U >::CacheTaylor(), Sacado::Tay::CacheTaylor< U >::CacheTaylor(), Sacado::Tay::CacheTaylor< U >::CacheTaylor(), Sacado::Tay::CacheTaylor< U >::CacheTaylor(), Sacado::Tay::CacheTaylor< U >::CacheTaylor(), Sacado::Tay::CacheTaylor< U >::CacheTaylor(), and Sacado::Tay::CacheTaylor< U >::operator=().
|
inlineprotected |
Disallow default constructor.
Referenced by Sacado::Tay::CacheTaylor< U >::operator+(), and Sacado::Tay::CacheTaylor< U >::operator-().
|
inline |
Allocate coefficient cache.
Referenced by Sacado::Tay::CacheTaylor< T >::CacheTaylor().
|
inline |
Return degree i term of expression.
Referenced by Sacado::Tay::CacheTaylor< T >::CacheTaylor(), and Sacado::Tay::CacheTaylorImplementation< T >::isEqualTo().
|
inline |
Return degree of polynomial.
Referenced by Sacado::Tay::diff(), and Sacado::Tay::CacheTaylorImplementation< T >::isEqualTo().
|
inline |
Return degree i term of expression.
Referenced by Sacado::Tay::CacheTaylor< T >::CacheTaylor(), and Sacado::Tay::diff().
|
inline |
Return if expression has fast access.
Referenced by Sacado::Tay::CacheTaylor< T >::CacheTaylor().