20 template <typename T, typename = typename std::enable_if<std::is_arithmetic<T>::value>::type>
47 static constexpr
bool value =
true;
The Kokkos object that can hold the reference of a variable.
The Kokkos wrapper class that can hold the reference of an arithmetic scalar variable.
T & _reference
Writeable host reference of the variable.
auto & operator=(T value)
Assign a scalar value to the underlying host reference.
Real value(unsigned n, unsigned alpha, unsigned beta, Real x)
The type trait that determines the default behavior of copy constructor and deepCopy() If this type t...
Scalar(T &value)
Constructor.
static constexpr bool value