| 
    Sacado
    Development
    
   | 
 
Constant expression template. More...
#include <Sacado_CacheFad_Expression.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.  | |
| int | size () const | 
| Return size of the derivative array of the operation.  | |
| bool | hasFastAccess () const | 
| Return if operation has fast access.  | |
| void | cache () const | 
| Cache values.  | |
| value_type | val () const | 
| Return value of operation.  | |
| value_type | dx (int i) const | 
Return derivative component i of operation.  | |
| value_type | fastAccessDx (int i) const | 
Return derivative component i of operation.  | |
Protected Attributes | |
| const ConstT & | constant_ | 
| The constant.  | |
Constant expression template.
This template class represents a constant expression.
 1.8.5