Sacado::Fad::Expr< ExprT > Class Template Reference

Wrapper for a generic expression template. More...

#include <Sacado_Fad_Expression.hpp>

Inheritance diagram for Sacado::Fad::Expr< ExprT >:

Inheritance graph
[legend]
Collaboration diagram for Sacado::Fad::Expr< ExprT >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ExprT::value_type value_type
 Typename of values.

Public Member Functions

 Expr (const ExprT &expr)
 Constructor with given expression expr.
int size () const
 Return size of derivative array of expression.
bool hasFastAccess () const
 Return if expression has fast access.
bool isPassive () const
 Return if expression is constant.
value_type val () const
 Return value of expression.
value_type dx (int i) const
 Return derivative component i of expression.
value_type fastAccessDx (int i) const
 Rturn derivative component i of expression.

Protected Member Functions

 Expr ()
 Disallow default constructor.

Protected Attributes

ExprT expr_
 Expression.

Detailed Description

template<typename ExprT>
class Sacado::Fad::Expr< ExprT >

Wrapper for a generic expression template.

This template class serves as a wrapper for all Fad expression template classes.


The documentation for this class was generated from the following file:
Generated on Tue Oct 20 12:54:55 2009 for Sacado by doxygen 1.4.7