Sacado Development
Public Types | Public Member Functions | Protected Attributes
Sacado::Tay::ConstExpr< ConstT > Class Template Reference

Constant expression template. More...

#include <Sacado_Tay_CacheTaylorExpr.hpp>

Inheritance diagram for Sacado::Tay::ConstExpr< ConstT >:
Inheritance graph
[legend]
Collaboration diagram for Sacado::Tay::ConstExpr< ConstT >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef ConstT value_type
 Typename of argument values.

Public Member Functions

 ConstExpr (const ConstT &constant)
 Constructor.
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 value () const
value_type coeff (unsigned int i) const
 Return degree i term of expression.
value_type fastAccessCoeff (unsigned int i) const
 Return degree i term of expression.

Protected Attributes

ConstT constant_
 The constant.

Detailed Description

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

Constant expression template.

This template class represents a constant expression.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends