#include <Sacado_Fad_Expression.hpp>
Public Types | |
| typedef ConstT | value_type |
| Typename of argument 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. | |
| bool | isPassive () const |
| Return if operation is constant. | |
| 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. | |
This template class represents a constant expression.
Definition at line 112 of file Sacado_Fad_Expression.hpp.
| typedef ConstT Sacado::Fad::ConstExpr< ConstT >::value_type |
| Sacado::Fad::ConstExpr< ConstT >::ConstExpr | ( | const ConstT & | constant | ) | [inline] |
| int Sacado::Fad::ConstExpr< ConstT >::size | ( | ) | const [inline] |
Return size of the derivative array of the operation.
Definition at line 123 of file Sacado_Fad_Expression.hpp.
| bool Sacado::Fad::ConstExpr< ConstT >::hasFastAccess | ( | ) | const [inline] |
| bool Sacado::Fad::ConstExpr< ConstT >::isPassive | ( | ) | const [inline] |
| value_type Sacado::Fad::ConstExpr< ConstT >::val | ( | ) | const [inline] |
| value_type Sacado::Fad::ConstExpr< ConstT >::dx | ( | int | i | ) | const [inline] |
Return derivative component i of operation.
Definition at line 135 of file Sacado_Fad_Expression.hpp.
| value_type Sacado::Fad::ConstExpr< ConstT >::fastAccessDx | ( | int | i | ) | const [inline] |
Return derivative component i of operation.
Definition at line 138 of file Sacado_Fad_Expression.hpp.
const ConstT& Sacado::Fad::ConstExpr< ConstT >::constant_ [protected] |
1.4.7