Sacado Package Browser (Single Doxygen Collection) Version of the Day
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]

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.

Definition at line 89 of file Sacado_Tay_CacheTaylorExpr.hpp.


Member Typedef Documentation

template<typename ConstT>
typedef ConstT Sacado::Tay::ConstExpr< ConstT >::value_type

Typename of argument values.

Definition at line 94 of file Sacado_Tay_CacheTaylorExpr.hpp.


Constructor & Destructor Documentation

template<typename ConstT>
Sacado::Tay::ConstExpr< ConstT >::ConstExpr ( const ConstT &  constant) [inline]

Constructor.

Definition at line 97 of file Sacado_Tay_CacheTaylorExpr.hpp.


Member Function Documentation

template<typename ConstT>
void Sacado::Tay::ConstExpr< ConstT >::allocateCache ( unsigned int  d) const [inline]

Allocate coefficient cache.

Definition at line 100 of file Sacado_Tay_CacheTaylorExpr.hpp.

template<typename ConstT>
unsigned int Sacado::Tay::ConstExpr< ConstT >::degree ( ) const [inline]

Return degree of polynomial.

Definition at line 103 of file Sacado_Tay_CacheTaylorExpr.hpp.

template<typename ConstT>
bool Sacado::Tay::ConstExpr< ConstT >::hasFastAccess ( unsigned int  d) const [inline]

Return if operation has fast access.

Definition at line 106 of file Sacado_Tay_CacheTaylorExpr.hpp.

template<typename ConstT>
value_type Sacado::Tay::ConstExpr< ConstT >::value ( ) const [inline]

Definition at line 108 of file Sacado_Tay_CacheTaylorExpr.hpp.

template<typename ConstT>
value_type Sacado::Tay::ConstExpr< ConstT >::coeff ( unsigned int  i) const [inline]

Return degree i term of expression.

Definition at line 111 of file Sacado_Tay_CacheTaylorExpr.hpp.

template<typename ConstT>
value_type Sacado::Tay::ConstExpr< ConstT >::fastAccessCoeff ( unsigned int  i) const [inline]

Return degree i term of expression.

Definition at line 115 of file Sacado_Tay_CacheTaylorExpr.hpp.


Member Data Documentation

template<typename ConstT>
ConstT Sacado::Tay::ConstExpr< ConstT >::constant_ [protected]

The constant.

Definition at line 121 of file Sacado_Tay_CacheTaylorExpr.hpp.


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