|
Sacado Package Browser (Single Doxygen Collection) Version of the Day
|
Constant expression template. More...
#include <Sacado_CacheFad_Expression.hpp>
Public Types | |
| typedef ConstT | value_type |
| Typename of argument values. | |
| typedef ConstT | scalar_type |
| Typename of scalar values. | |
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.
Definition at line 76 of file Sacado_CacheFad_Expression.hpp.
| typedef ConstT Sacado::CacheFad::ConstExpr< ConstT >::value_type |
Typename of argument values.
Definition at line 81 of file Sacado_CacheFad_Expression.hpp.
| typedef ConstT Sacado::CacheFad::ConstExpr< ConstT >::scalar_type |
Typename of scalar values.
Definition at line 84 of file Sacado_CacheFad_Expression.hpp.
| Sacado::CacheFad::ConstExpr< ConstT >::ConstExpr | ( | const ConstT & | constant | ) | [inline] |
Constructor.
Definition at line 87 of file Sacado_CacheFad_Expression.hpp.
| int Sacado::CacheFad::ConstExpr< ConstT >::size | ( | ) | const [inline] |
Return size of the derivative array of the operation.
Definition at line 90 of file Sacado_CacheFad_Expression.hpp.
| bool Sacado::CacheFad::ConstExpr< ConstT >::hasFastAccess | ( | ) | const [inline] |
Return if operation has fast access.
Definition at line 93 of file Sacado_CacheFad_Expression.hpp.
| void Sacado::CacheFad::ConstExpr< ConstT >::cache | ( | ) | const [inline] |
Cache values.
Definition at line 96 of file Sacado_CacheFad_Expression.hpp.
| value_type Sacado::CacheFad::ConstExpr< ConstT >::val | ( | ) | const [inline] |
Return value of operation.
Definition at line 99 of file Sacado_CacheFad_Expression.hpp.
| value_type Sacado::CacheFad::ConstExpr< ConstT >::dx | ( | int | i | ) | const [inline] |
Return derivative component i of operation.
Definition at line 102 of file Sacado_CacheFad_Expression.hpp.
| value_type Sacado::CacheFad::ConstExpr< ConstT >::fastAccessDx | ( | int | i | ) | const [inline] |
Return derivative component i of operation.
Definition at line 105 of file Sacado_CacheFad_Expression.hpp.
const ConstT& Sacado::CacheFad::ConstExpr< ConstT >::constant_ [protected] |
The constant.
Definition at line 110 of file Sacado_CacheFad_Expression.hpp.
1.7.4