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

Wrapper for a generic expression template. More...

#include <Sacado_CacheFad_Expression.hpp>

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

Inheritance graph
[legend]
Collaboration diagram for Sacado::CacheFad::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.
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::CacheFad::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