|
Sacado
Development
|
Constant expression template. More...
#include <Sacado_Tay_CacheTaylorExpr.hpp>


Public Types | |
| typedef ConstT | value_type |
| Typename of argument values. | |
|
typedef ScalarType< value_type > ::type | scalar_type |
| Typename of scalar's (which may be different from ConstT) | |
| typedef ConstT | base_expr_type |
| Typename of base-expressions. | |
Public Member Functions | |
| ConstExpr (const ConstT &constant) | |
| 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 | value () const |
| 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 Attributes | |
| ConstT | constant_ |
| The constant. | |
Constant expression template.
This template class represents a constant expression.
1.8.5