#include <Sacado_ELRFad_Expression.hpp>
Collaboration diagram for Sacado::ELRFad::UnaryExpr< ExprT, Op >:

Public Types | |
| typedef ExprT::value_type | value_type |
| Typename of argument value. | |
| typedef ExprT::base_expr_type | base_expr_type |
| Typename of base-expressions. | |
| typedef Op< ExprT > | OpT |
| Typename of op. | |
Public Member Functions | |
| UnaryExpr (const ExprT &expr) | |
| Constructor. | |
| int | size () const |
| Return size of the derivative array of the operation. | |
| value_type | val () const |
| Return value of operation. | |
| void | computePartials (const value_type &bar, value_type partials[]) const |
| Return partials w.r.t. arguments. | |
| void | getTangents (int i, value_type dots[]) const |
Rturn tangent component i of arguments. | |
| template<int Arg> | |
| value_type | getTangent (int i) const |
Return tangent component i of argument Arg. | |
| template<int Arg> | |
| bool | isActive () const |
| Return whether argument is active. | |
Static Public Attributes | |
| static const int | num_args = ExprT::num_args |
| Number of arguments. | |
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().
1.4.7