52 #ifndef SACADO_FAD_EXPR_MP_VECTOR_HPP
53 #define SACADO_FAD_EXPR_MP_VECTOR_HPP
55 #include "Sacado_Fad_Expression.hpp"
58 template <
typename Ord,
typename Val,
int Num,
typename Dev>
59 class StaticFixedStorage;
65 template <
typename S>
class Vector;
74 template <
typename Ord,
typename Val,
int VecNum,
typename Dev>
75 class ConstExpr< Sacado::
MP::Vector< Stokhos::StaticFixedStorage<Ord,Val,VecNum,Dev> > > {
92 KOKKOS_INLINE_FUNCTION
96 KOKKOS_INLINE_FUNCTION
100 KOKKOS_INLINE_FUNCTION
101 const val_type&
val(
int j)
const {
return constant_.fastAccessCoeff(j); }
114 #endif // SACADO_FAD_EXPR_MP_VECTOR_HPP
const ConstT & constant_
The constant.
ConstT base_expr_type
Typename of base-expressions.
KOKKOS_INLINE_FUNCTION const val_type & val(int j) const
Return value of operation.
ScalarType< value_type >::type scalar_type
Typename of scalar's (which may be different from ConstT)
ConstT value_type
Typename of argument values.
KOKKOS_INLINE_FUNCTION const ConstT & val() const
Return value of operation.
Sacado::MP::Vector< Stokhos::StaticFixedStorage< Ord, Val, VecNum, Dev > > ConstT
KOKKOS_INLINE_FUNCTION ConstExpr(const ConstT &constant)
Constructor.
ConstT::value_type val_type