Stokhos Development
Loading...
Searching...
No Matches
Kokkos::ArithTraits< Sacado::UQ::PCE< S > > Class Template Reference

Public Types

typedef Sacado::UQ::PCE< S > val_type
typedef val_type::value_type base_value_type
typedef val_type::ordinal_type ordinal_type
typedef ArithTraits< base_value_type > BAT
typedef BAT::mag_type mag_type
typedef mag_type magnitudeType
typedef BAT::halfPrecision base_half_precision
typedef BAT::doublePrecision base_double_precision
typedef Sacado::mpl::apply< S, ordinal_type, base_half_precision >::type half_storage
typedef Sacado::mpl::apply< S, ordinal_type, base_double_precision >::type double_storage
typedef Sacado::UQ::PCE< half_storage > halfPrecision
typedef Sacado::UQ::PCE< double_storage > doublePrecision

Static Public Member Functions

static KOKKOS_FORCEINLINE_FUNCTION bool isInf (const val_type &x)
static KOKKOS_FORCEINLINE_FUNCTION bool isNan (const val_type &x)
static KOKKOS_FORCEINLINE_FUNCTION mag_type abs (const val_type &x)
static KOKKOS_FORCEINLINE_FUNCTION val_type zero ()
static KOKKOS_FORCEINLINE_FUNCTION val_type one ()
static KOKKOS_FORCEINLINE_FUNCTION val_type min ()
static KOKKOS_FORCEINLINE_FUNCTION val_type max ()
static KOKKOS_FORCEINLINE_FUNCTION val_type real (const val_type &x)
static KOKKOS_FORCEINLINE_FUNCTION val_type imag (const val_type &x)
static KOKKOS_FORCEINLINE_FUNCTION val_type conj (const val_type &x)
static KOKKOS_FORCEINLINE_FUNCTION val_type pow (const val_type &x, const val_type &y)
static KOKKOS_FORCEINLINE_FUNCTION val_type sqrt (const val_type &x)
static KOKKOS_FORCEINLINE_FUNCTION val_type log (const val_type &x)
static KOKKOS_FORCEINLINE_FUNCTION val_type log10 (const val_type &x)
static KOKKOS_FORCEINLINE_FUNCTION val_type nan ()
static KOKKOS_FORCEINLINE_FUNCTION mag_type epsilon ()
static bool isnaninf (const val_type &x)
static KOKKOS_FORCEINLINE_FUNCTION mag_type magnitude (const val_type &x)
static KOKKOS_FORCEINLINE_FUNCTION val_type conjugate (const val_type &x)
static std::string name ()
static KOKKOS_FORCEINLINE_FUNCTION val_type squareroot (const val_type &x)
static KOKKOS_FORCEINLINE_FUNCTION mag_type eps ()
static KOKKOS_FORCEINLINE_FUNCTION mag_type sfmin ()
static KOKKOS_FORCEINLINE_FUNCTION int base ()
static KOKKOS_FORCEINLINE_FUNCTION mag_type prec ()
static KOKKOS_FORCEINLINE_FUNCTION int t ()
static KOKKOS_FORCEINLINE_FUNCTION mag_type rnd ()
static KOKKOS_FORCEINLINE_FUNCTION int emin ()
static KOKKOS_FORCEINLINE_FUNCTION mag_type rmin ()
static KOKKOS_FORCEINLINE_FUNCTION int emax ()
static KOKKOS_FORCEINLINE_FUNCTION mag_type rmax ()

Static Public Attributes

static const bool is_specialized = true
static const bool is_signed = BAT::is_signed
static const bool is_integer = BAT::is_integer
static const bool is_exact = BAT::is_exact
static const bool is_complex = BAT::is_complex
static const bool isComplex = is_complex
static const bool isOrdinal = is_integer
static const bool isComparable = BAT::isComparable
static const bool hasMachineParameters = BAT::hasMachineParameters

The documentation for this class was generated from the following file: