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 | Static Public Member Functions | List of all members
Sacado::Fad::Exp::ExprAssign< DstType, Enabled > Class Template Reference

Class that implements various forms of expression assignments. More...

#include <Sacado_Fad_Exp_ExprAssign.hpp>

Public Types

typedef DstType::value_type value_type
 Typename of values. More...
 

Static Public Member Functions

template<typename SrcType >
static KOKKOS_INLINE_FUNCTION void assign_equal (DstType &dst, const SrcType &x)
 Implementation of dst = x. More...
 
template<typename SrcType >
static KOKKOS_INLINE_FUNCTION void assign_plus_equal (DstType &dst, const SrcType &x)
 Implementation of dst += x. More...
 
template<typename SrcType >
static KOKKOS_INLINE_FUNCTION void assign_minus_equal (DstType &dst, const SrcType &x)
 Implementation of dst -= x. More...
 
template<typename SrcType >
static KOKKOS_INLINE_FUNCTION void assign_times_equal (DstType &dst, const SrcType &x)
 Implementation of dst *= x. More...
 
template<typename SrcType >
static KOKKOS_INLINE_FUNCTION void assign_divide_equal (DstType &dst, const SrcType &x)
 Implementation of dst /= x. More...
 

Detailed Description

template<typename DstType, typename Enabled = void>
class Sacado::Fad::Exp::ExprAssign< DstType, Enabled >

Class that implements various forms of expression assignments.

GeneralFad uses this class to implement =, +=, -=, *=, and /= for GeneralFad and expression right-hand-sides. This design allows partial specializations of this class to be easily written without having to specialize GeneralFad itself. For examples, specializations for various derivative storage schemes may be desired.

Definition at line 63 of file Sacado_Fad_Exp_ExprAssign.hpp.

Member Typedef Documentation

template<typename DstType , typename Enabled = void>
typedef DstType::value_type Sacado::Fad::Exp::ExprAssign< DstType, Enabled >::value_type

Typename of values.

Definition at line 67 of file Sacado_Fad_Exp_ExprAssign.hpp.

Member Function Documentation

template<typename DstType , typename Enabled = void>
template<typename SrcType >
static KOKKOS_INLINE_FUNCTION void Sacado::Fad::Exp::ExprAssign< DstType, Enabled >::assign_equal ( DstType &  dst,
const SrcType &  x 
)
inlinestatic

Implementation of dst = x.

Definition at line 72 of file Sacado_Fad_Exp_ExprAssign.hpp.

template<typename DstType , typename Enabled = void>
template<typename SrcType >
static KOKKOS_INLINE_FUNCTION void Sacado::Fad::Exp::ExprAssign< DstType, Enabled >::assign_plus_equal ( DstType &  dst,
const SrcType &  x 
)
inlinestatic

Implementation of dst += x.

Definition at line 102 of file Sacado_Fad_Exp_ExprAssign.hpp.

template<typename DstType , typename Enabled = void>
template<typename SrcType >
static KOKKOS_INLINE_FUNCTION void Sacado::Fad::Exp::ExprAssign< DstType, Enabled >::assign_minus_equal ( DstType &  dst,
const SrcType &  x 
)
inlinestatic

Implementation of dst -= x.

Definition at line 137 of file Sacado_Fad_Exp_ExprAssign.hpp.

template<typename DstType , typename Enabled = void>
template<typename SrcType >
static KOKKOS_INLINE_FUNCTION void Sacado::Fad::Exp::ExprAssign< DstType, Enabled >::assign_times_equal ( DstType &  dst,
const SrcType &  x 
)
inlinestatic

Implementation of dst *= x.

Definition at line 172 of file Sacado_Fad_Exp_ExprAssign.hpp.

template<typename DstType , typename Enabled = void>
template<typename SrcType >
static KOKKOS_INLINE_FUNCTION void Sacado::Fad::Exp::ExprAssign< DstType, Enabled >::assign_divide_equal ( DstType &  dst,
const SrcType &  x 
)
inlinestatic

Implementation of dst /= x.

Definition at line 215 of file Sacado_Fad_Exp_ExprAssign.hpp.


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