Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
Constant expression template. More...
#include <Sacado_Fad_Expression.hpp>
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 | |
KOKKOS_INLINE_FUNCTION | ConstExpr (const ConstT &constant) |
Constructor. More... | |
KOKKOS_INLINE_FUNCTION const ConstT & | val () const |
Return value of operation. More... | |
KOKKOS_INLINE_FUNCTION const ConstT & | val (int j) const |
Return value of operation. More... | |
Protected Attributes | |
const ConstT & | constant_ |
The constant. More... | |
Constant expression template.
This template class represents a constant expression.
Definition at line 126 of file Sacado_Fad_Expression.hpp.
typedef ConstT Sacado::Fad::ConstExpr< ConstT >::value_type |
Typename of argument values.
Definition at line 131 of file Sacado_Fad_Expression.hpp.
typedef ScalarType<value_type>::type Sacado::Fad::ConstExpr< ConstT >::scalar_type |
Typename of scalar's (which may be different from ConstT)
Definition at line 134 of file Sacado_Fad_Expression.hpp.
typedef ConstT Sacado::Fad::ConstExpr< ConstT >::base_expr_type |
Typename of base-expressions.
Definition at line 137 of file Sacado_Fad_Expression.hpp.
|
inline |
Constructor.
Definition at line 141 of file Sacado_Fad_Expression.hpp.
|
inline |
Return value of operation.
Definition at line 145 of file Sacado_Fad_Expression.hpp.
|
inline |
Return value of operation.
Definition at line 149 of file Sacado_Fad_Expression.hpp.
|
protected |
The constant.
Definition at line 154 of file Sacado_Fad_Expression.hpp.