Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
Sacado::Fad::ConstExpr< ConstT > Class Template Reference

Constant expression template. More...

#include <Sacado_Fad_Expression.hpp>

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

Public Types

typedef ConstT value_type
 Typename of argument values. More...
 
typedef ScalarType< value_type >
::type 
scalar_type
 Typename of scalar's (which may be different from ConstT) More...
 
typedef ConstT base_expr_type
 Typename of base-expressions. More...
 

Public Member Functions

SACADO_INLINE_FUNCTION ConstExpr (const ConstT &constant)
 Constructor. More...
 
SACADO_INLINE_FUNCTION const
ConstT & 
val () const
 Return value of operation. More...
 
SACADO_INLINE_FUNCTION const
ConstT & 
val (int j) const
 Return value of operation. More...
 

Protected Attributes

const ConstT & constant_
 The constant. More...
 

Detailed Description

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

Constant expression template.

This template class represents a constant expression.

Definition at line 107 of file Sacado_Fad_Expression.hpp.

Member Typedef Documentation

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

Typename of argument values.

Definition at line 112 of file Sacado_Fad_Expression.hpp.

template<typename ConstT>
typedef ScalarType<value_type>::type Sacado::Fad::ConstExpr< ConstT >::scalar_type

Typename of scalar's (which may be different from ConstT)

Definition at line 115 of file Sacado_Fad_Expression.hpp.

template<typename ConstT>
typedef ConstT Sacado::Fad::ConstExpr< ConstT >::base_expr_type

Typename of base-expressions.

Definition at line 118 of file Sacado_Fad_Expression.hpp.

Constructor & Destructor Documentation

template<typename ConstT>
SACADO_INLINE_FUNCTION Sacado::Fad::ConstExpr< ConstT >::ConstExpr ( const ConstT &  constant)
inline

Constructor.

Definition at line 122 of file Sacado_Fad_Expression.hpp.

Member Function Documentation

template<typename ConstT>
SACADO_INLINE_FUNCTION const ConstT& Sacado::Fad::ConstExpr< ConstT >::val ( ) const
inline

Return value of operation.

Definition at line 126 of file Sacado_Fad_Expression.hpp.

template<typename ConstT>
SACADO_INLINE_FUNCTION const ConstT& Sacado::Fad::ConstExpr< ConstT >::val ( int  j) const
inline

Return value of operation.

Definition at line 130 of file Sacado_Fad_Expression.hpp.

Member Data Documentation

template<typename ConstT>
const ConstT& Sacado::Fad::ConstExpr< ConstT >::constant_
protected

The constant.

Definition at line 135 of file Sacado_Fad_Expression.hpp.


The documentation for this class was generated from the following file: