30 #ifndef SACADO_TRAD2_TRAITS_HPP
31 #define SACADO_TRAD2_TRAITS_HPP
38 template <
typename T>
class ADvar;
39 template <
typename T>
class ADvari;
87 static const bool value =
false;
93 static const bool value =
false;
98 struct Value< Rad2::ADvar<T> > {
105 template <
typename T>
111 template <
typename T>
117 template <
typename T>
126 template <
typename T>
129 return std::string(
"Sacado::Rad2::ADvar< ") +
135 #endif // SACADO_TRAD_TRAITS_HPP
Base template specification for marking constants.
static std::string eval()
static void eval(Rad2::ADvari< T > &x)
static value_type eval(const Rad2::ADvar< T > &x)
Base template specification for ScalarValue.
Base template specification for ScalarType.
ScalarType< T >::type type
Base template specification for string names of types.
Base template specification for IsADType.
ScalarType< Rad2::ADvar< T > >::type scalar_type
ValueType< Rad2::ADvar< T > >::type value_type
Base template specification for Value.
static std::string eval()
#define SACADO_RAD_PROMOTE_SPEC(NS)
static scalar_type eval(const Rad2::ADvar< T > &x)
ValueType< Rad2::ADvar< T > >::type value_type
static void eval(Rad2::ADvar< T > &x)
Base template specification for IsScalarType.
void AD_Const(const IndepADvar &v)
ScalarType< T >::type type
Base template specification for ValueType.
static KOKKOS_INLINE_FUNCTION const T & eval(const T &x)