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, typename std::enable_if< Sacado::IsStaticallySized< DstType >::value >::type > Class Template Reference

Specialization of ExprAssign for statically sized storage types. 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>
class Sacado::Fad::Exp::ExprAssign< DstType, typename std::enable_if< Sacado::IsStaticallySized< DstType >::value >::type >

Specialization of ExprAssign for statically sized storage types.

This simplifies the logic considerably in the static, fixed case, making the job easier for the compiler to optimize the code. In this case, dst.size() always equals x.size().

Definition at line 267 of file Sacado_Fad_Exp_ExprAssign.hpp.

Member Typedef Documentation

template<typename DstType >
typedef DstType::value_type Sacado::Fad::Exp::ExprAssign< DstType, typename std::enable_if< Sacado::IsStaticallySized< DstType >::value >::type >::value_type

Typename of values.

Definition at line 272 of file Sacado_Fad_Exp_ExprAssign.hpp.

Member Function Documentation

template<typename DstType >
template<typename SrcType >
static KOKKOS_INLINE_FUNCTION void Sacado::Fad::Exp::ExprAssign< DstType, typename std::enable_if< Sacado::IsStaticallySized< DstType >::value >::type >::assign_equal ( DstType &  dst,
const SrcType &  x 
)
inlinestatic

Implementation of dst = x.

Definition at line 277 of file Sacado_Fad_Exp_ExprAssign.hpp.

template<typename DstType >
template<typename SrcType >
static KOKKOS_INLINE_FUNCTION void Sacado::Fad::Exp::ExprAssign< DstType, typename std::enable_if< Sacado::IsStaticallySized< DstType >::value >::type >::assign_plus_equal ( DstType &  dst,
const SrcType &  x 
)
inlinestatic

Implementation of dst += x.

Definition at line 288 of file Sacado_Fad_Exp_ExprAssign.hpp.

template<typename DstType >
template<typename SrcType >
static KOKKOS_INLINE_FUNCTION void Sacado::Fad::Exp::ExprAssign< DstType, typename std::enable_if< Sacado::IsStaticallySized< DstType >::value >::type >::assign_minus_equal ( DstType &  dst,
const SrcType &  x 
)
inlinestatic

Implementation of dst -= x.

Definition at line 299 of file Sacado_Fad_Exp_ExprAssign.hpp.

template<typename DstType >
template<typename SrcType >
static KOKKOS_INLINE_FUNCTION void Sacado::Fad::Exp::ExprAssign< DstType, typename std::enable_if< Sacado::IsStaticallySized< DstType >::value >::type >::assign_times_equal ( DstType &  dst,
const SrcType &  x 
)
inlinestatic

Implementation of dst *= x.

Definition at line 310 of file Sacado_Fad_Exp_ExprAssign.hpp.

template<typename DstType >
template<typename SrcType >
static KOKKOS_INLINE_FUNCTION void Sacado::Fad::Exp::ExprAssign< DstType, typename std::enable_if< Sacado::IsStaticallySized< DstType >::value >::type >::assign_divide_equal ( DstType &  dst,
const SrcType &  x 
)
inlinestatic

Implementation of dst /= x.

Definition at line 323 of file Sacado_Fad_Exp_ExprAssign.hpp.


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