Sacado Development
Loading...
Searching...
No Matches
Sacado::Fad::ConstExpr< ConstT > Class Template Reference

Constant expression template. More...

#include <Sacado_Fad_Expression.hpp>

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

Public Types

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

Public Member Functions

 ConstExpr (const ConstT &constant)
 Constructor.
const ConstT & val () const
 Return value of operation.
const ConstT & val (int j) const
 Return value 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: