Sacado::Fad::ConstExpr< ConstT > Class Template Reference

Constant expression template. More...

#include <Sacado_Fad_Expression.hpp>

Collaboration diagram for Sacado::Fad::ConstExpr< ConstT >:

Collaboration graph
List of all members.

Public Types

typedef ConstT value_type
 Typename of argument values.

Public Member Functions

 ConstExpr (const ConstT &constant)
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.

Detailed Description

template<typename ConstT>
class Sacado::Fad::ConstExpr< ConstT >

Constant expression template.

This template class represents a constant expression.

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