#include <Sacado_Fad_Expression.hpp>
Public Types | |
| typedef ExprT::value_type | value_type |
| Typename of argument value. | |
| typedef Op< ExprT > | OpT |
Public Member Functions | |
| UnaryExpr (const ExprT &expr) | |
| 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 expression 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 ExprT & | expr_ |
| Left argument. | |
This template class represents a unary operation of the form op(a) where a is the argument of type ExprT and op is the operation represented by type Op. The operation is evaluated by the static methods Op::computeValue() and Op::computeDx().
Definition at line 155 of file Sacado_Fad_Expression.hpp.
| typedef ExprT::value_type Sacado::Fad::UnaryExpr< ExprT, Op >::value_type |
| typedef Op<ExprT> Sacado::Fad::UnaryExpr< ExprT, Op >::OpT |
Definition at line 161 of file Sacado_Fad_Expression.hpp.
| Sacado::Fad::UnaryExpr< ExprT, Op >::UnaryExpr | ( | const ExprT & | expr | ) | [inline] |
| int Sacado::Fad::UnaryExpr< ExprT, Op >::size | ( | ) | const [inline] |
Return size of the derivative array of the operation.
Definition at line 167 of file Sacado_Fad_Expression.hpp.
| bool Sacado::Fad::UnaryExpr< ExprT, Op >::hasFastAccess | ( | ) | const [inline] |
| bool Sacado::Fad::UnaryExpr< ExprT, Op >::isPassive | ( | ) | const [inline] |
| value_type Sacado::Fad::UnaryExpr< ExprT, Op >::val | ( | ) | const [inline] |
| value_type Sacado::Fad::UnaryExpr< ExprT, Op >::dx | ( | int | i | ) | const [inline] |
Return derivative component i of operation.
Definition at line 179 of file Sacado_Fad_Expression.hpp.
| value_type Sacado::Fad::UnaryExpr< ExprT, Op >::fastAccessDx | ( | int | i | ) | const [inline] |
Return derivative component i of operation.
Definition at line 182 of file Sacado_Fad_Expression.hpp.
const ExprT& Sacado::Fad::UnaryExpr< ExprT, Op >::expr_ [protected] |
1.4.7