42 #ifndef STOKHOS_MPL_FOR_EACH_HPP 43 #define STOKHOS_MPL_FOR_EACH_HPP 45 #include "Sacado_mpl_begin.hpp" 46 #include "Sacado_mpl_end.hpp" 47 #include "Sacado_mpl_next.hpp" 48 #include "Sacado_mpl_deref.hpp" 50 #include "Kokkos_Macros.hpp" 57 class Iter1 =
typename Sacado::mpl::begin<Seq>::type,
58 class Iter2 =
typename Sacado::mpl::end<Seq>::type>
60 template <
typename Op>
61 KOKKOS_INLINE_FUNCTION
63 op(
typename Sacado::mpl::deref<Iter1>::type());
68 template <
class Seq,
class Iter1>
70 template <
typename Op>
71 KOKKOS_INLINE_FUNCTION
79 #endif // STOKHOS_MPL_FOR_EACH_HPP KOKKOS_INLINE_FUNCTION for_each(const Op &op)
Top-level namespace for Stokhos classes and functions.
KOKKOS_INLINE_FUNCTION for_each(const Op &op)
ScalarType f(const Teuchos::Array< ScalarType > &x, double a, double b)