8#include <initializer_list>
22 template <
typename T,
unsigned Dim>
32 template <
typename... Args,
33 typename std::enable_if<
sizeof...(Args) ==
Dim,
bool>::type =
true>
34 explicit KOKKOS_FUNCTION
Vector(
const Args&... args);
36 template <
typename E,
size_t N>
39 KOKKOS_DEFAULTED_FUNCTION
53 Vector(
const std::initializer_list<T>& list);
68 template <
typename E,
size_t N>
71 template <
typename E,
size_t N>
74 template <
typename E,
size_t N>
77 template <
typename E,
size_t N>
80 template <
typename E,
size_t N>
100 KOKKOS_INLINE_FUNCTION
T Pnorm(
const int p = 2)
const;
107 template <
typename T,
unsigned Dim>
109 template <
typename T,
unsigned Dim>
KOKKOS_INLINE_FUNCTION Vector< T, Dim > min(const Vector< T, Dim > &a, const Vector< T, Dim > &b)
KOKKOS_INLINE_FUNCTION constexpr iterator begin()
KOKKOS_FUNCTION ~Vector()
KOKKOS_INLINE_FUNCTION T Pnorm(const int p=2) const
KOKKOS_INLINE_FUNCTION constexpr const_iterator begin() const
KOKKOS_INLINE_FUNCTION Vector< T, Dim > & operator/=(const detail::Expression< E, N > &expr)
Vector(const std::array< std::vector< T >, Dim > &a)
KOKKOS_INLINE_FUNCTION Vector< T, Dim > & operator/=(const T &val)
KOKKOS_INLINE_FUNCTION value_type operator[](unsigned int i) const
KOKKOS_INLINE_FUNCTION Vector< T, Dim > & operator*=(const T &val)
KOKKOS_INLINE_FUNCTION Vector< T, Dim > & operator-=(const detail::Expression< E, N > &expr)
KOKKOS_INLINE_FUNCTION Vector< T, Dim > & operator-=(const T &val)
KOKKOS_DEFAULTED_FUNCTION Vector(const Vector< T, Dim > &v)=default
KOKKOS_INLINE_FUNCTION Vector< T, Dim > & operator+=(const detail::Expression< E, N > &expr)
KOKKOS_INLINE_FUNCTION Vector< T, Dim > & operator*=(const detail::Expression< E, N > &expr)
KOKKOS_INLINE_FUNCTION constexpr const_iterator end() const
KOKKOS_INLINE_FUNCTION value_type & operator[](unsigned int i)
KOKKOS_FUNCTION Vector(const std::initializer_list< T > &list)
KOKKOS_INLINE_FUNCTION value_type operator()(unsigned int i) const
KOKKOS_FUNCTION Vector(const T &val)
const point_t * const_iterator
KOKKOS_INLINE_FUNCTION value_type & operator()(unsigned int i)
KOKKOS_INLINE_FUNCTION Vector< T, Dim > & operator=(const detail::Expression< E, N > &expr)
static constexpr unsigned dim
KOKKOS_FUNCTION Vector(const Args &... args)
KOKKOS_INLINE_FUNCTION T dot(const Vector< T, Dim > &rhs) const
KOKKOS_INLINE_FUNCTION constexpr iterator end()
KOKKOS_FUNCTION Vector(const detail::Expression< E, N > &expr)
Vector(const std::array< T, Dim > &a)
KOKKOS_INLINE_FUNCTION Vector< T, Dim > & operator+=(const T &val)