Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
Constant expression template. More...
#include <Sacado_Tay_CacheTaylorExpr.hpp>
Public Types | |
typedef ConstT | value_type |
Typename of argument values. More... | |
typedef ScalarType< value_type > ::type | scalar_type |
Typename of scalar's (which may be different from ConstT) More... | |
typedef ConstT | base_expr_type |
Typename of base-expressions. More... | |
Public Member Functions | |
ConstExpr (const ConstT &constant) | |
Constructor. 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 operation has fast access. More... | |
value_type | value () const |
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 Attributes | |
ConstT | constant_ |
The constant. More... | |
Constant expression template.
This template class represents a constant expression.
Definition at line 93 of file Sacado_Tay_CacheTaylorExpr.hpp.
typedef ConstT Sacado::Tay::ConstExpr< ConstT >::value_type |
Typename of argument values.
Definition at line 98 of file Sacado_Tay_CacheTaylorExpr.hpp.
typedef ScalarType<value_type>::type Sacado::Tay::ConstExpr< ConstT >::scalar_type |
Typename of scalar's (which may be different from ConstT)
Definition at line 101 of file Sacado_Tay_CacheTaylorExpr.hpp.
typedef ConstT Sacado::Tay::ConstExpr< ConstT >::base_expr_type |
Typename of base-expressions.
Definition at line 104 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Constructor.
Definition at line 107 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Allocate coefficient cache.
Definition at line 110 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return degree of polynomial.
Definition at line 113 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return if operation has fast access.
Definition at line 116 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Definition at line 118 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return degree i
term of expression.
Definition at line 121 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
inline |
Return degree i
term of expression.
Definition at line 125 of file Sacado_Tay_CacheTaylorExpr.hpp.
|
protected |
The constant.
Definition at line 131 of file Sacado_Tay_CacheTaylorExpr.hpp.