Sacado
Development
|
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. | |
Static Public Member Functions | |
template<typename SrcType > | |
static SACADO_INLINE_FUNCTION void | assign_equal (DstType &dst, const SrcType &x) |
Implementation of dst = x. | |
template<typename SrcType > | |
static SACADO_INLINE_FUNCTION void | assign_plus_equal (DstType &dst, const SrcType &x) |
Implementation of dst += x. | |
template<typename SrcType > | |
static SACADO_INLINE_FUNCTION void | assign_minus_equal (DstType &dst, const SrcType &x) |
Implementation of dst -= x. | |
template<typename SrcType > | |
static SACADO_INLINE_FUNCTION void | assign_times_equal (DstType &dst, const SrcType &x) |
Implementation of dst *= x. | |
template<typename SrcType > | |
static SACADO_INLINE_FUNCTION void | assign_divide_equal (DstType &dst, const SrcType &x) |
Implementation of dst /= x. | |
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().