32 #ifndef SACADO_FAD_EXPR_MP_VECTOR_HPP
33 #define SACADO_FAD_EXPR_MP_VECTOR_HPP
35 #include "Sacado_Fad_Expression.hpp"
38 template <
typename Ord,
typename Val,
int Num,
typename Dev>
39 class StaticFixedStorage;
45 template <
typename S>
class Vector;
54 template <
typename Ord,
typename Val,
int VecNum,
typename Dev>
55 class ConstExpr< Sacado::
MP::Vector< Stokhos::StaticFixedStorage<Ord,Val,VecNum,Dev> > > {
72 KOKKOS_INLINE_FUNCTION
76 KOKKOS_INLINE_FUNCTION
80 KOKKOS_INLINE_FUNCTION
81 const val_type&
val(
int j)
const {
return constant_.fastAccessCoeff(j); }
94 #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