Sacado::Tay::UnaryExpr< ExprT, Op > Class Template Reference

Unary expression template. More...

#include <Sacado_Tay_CacheTaylorExpr.hpp>

Collaboration diagram for Sacado::Tay::UnaryExpr< ExprT, Op >:

Collaboration graph
List of all members.

Public Types

typedef ExprT::value_type value_type
 Typename of argument value.

Public Member Functions

 UnaryExpr (const ExprT &expr)
void allocateCache (unsigned int d) const
 Allocate coefficient cache.
unsigned int degree () const
 Return degree of polynomial.
bool hasFastAccess (unsigned int d) const
 Return if operation has fast access.
value_type coeff (unsigned int i) const
 Return degree i term of expression.
value_type fastAccessCoeff (unsigned int i) const
 Return derivative component i of operation.

Protected Attributes

ExprT expr_
 Left argument.
Op< ExprT > op_

Detailed Description

template<typename ExprT, template< typename > class Op>
class Sacado::Tay::UnaryExpr< ExprT, Op >

Unary expression template.

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().

The documentation for this class was generated from the following file:
Generated on Tue Jul 13 09:38:12 2010 for Sacado by  doxygen 1.4.7