Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > > Class Template Reference

#include <Kokkos_ArithTraits_UQ_PCE.hpp>

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_typeBAT
 
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_storagehalfPrecision
 
typedef Sacado::UQ::PCE< double_storagedoublePrecision
 

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
 

Detailed Description

template<typename S>
class Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >

Definition at line 57 of file Kokkos_ArithTraits_UQ_PCE.hpp.

Member Typedef Documentation

◆ val_type

template<typename S >
typedef Sacado::UQ::PCE<S> Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::val_type

Definition at line 59 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ base_value_type

template<typename S >
typedef val_type::value_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::base_value_type

Definition at line 61 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ ordinal_type

template<typename S >
typedef val_type::ordinal_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::ordinal_type

Definition at line 62 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ BAT

template<typename S >
typedef ArithTraits<base_value_type> Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::BAT

Definition at line 63 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ mag_type

template<typename S >
typedef BAT::mag_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::mag_type

Definition at line 65 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ magnitudeType

template<typename S >
typedef mag_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::magnitudeType

Definition at line 148 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ base_half_precision

template<typename S >
typedef BAT::halfPrecision Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::base_half_precision

Definition at line 149 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ base_double_precision

template<typename S >
typedef BAT::doublePrecision Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::base_double_precision

Definition at line 150 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ half_storage

template<typename S >
typedef Sacado::mpl::apply<S,ordinal_type,base_half_precision>::type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::half_storage

Definition at line 151 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ double_storage

template<typename S >
typedef Sacado::mpl::apply<S,ordinal_type,base_double_precision>::type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::double_storage

Definition at line 152 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ halfPrecision

template<typename S >
typedef Sacado::UQ::PCE<half_storage> Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::halfPrecision

Definition at line 153 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ doublePrecision

template<typename S >
typedef Sacado::UQ::PCE<double_storage> Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::doublePrecision

Definition at line 154 of file Kokkos_ArithTraits_UQ_PCE.hpp.

Member Function Documentation

◆ isInf()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION bool Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::isInf ( const val_type x)
inlinestatic

Definition at line 74 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ isNan()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION bool Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::isNan ( const val_type x)
inlinestatic

Definition at line 80 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ abs()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION mag_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::abs ( const val_type x)
inlinestatic

Definition at line 86 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ zero()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::zero ( )
inlinestatic

Definition at line 94 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ one()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::one ( )
inlinestatic

Definition at line 97 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ min()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::min ( )
inlinestatic

Definition at line 100 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ max()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::max ( )
inlinestatic

Definition at line 103 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ real()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::real ( const val_type x)
inlinestatic

Definition at line 106 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ imag()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::imag ( const val_type x)
inlinestatic

Definition at line 113 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ conj()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::conj ( const val_type x)
inlinestatic

Definition at line 120 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ pow()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::pow ( const val_type x,
const val_type y 
)
inlinestatic

Definition at line 127 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ sqrt()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::sqrt ( const val_type x)
inlinestatic

Definition at line 131 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ log()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::log ( const val_type x)
inlinestatic

Definition at line 134 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ log10()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::log10 ( const val_type x)
inlinestatic

Definition at line 137 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ nan()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::nan ( )
inlinestatic

Definition at line 140 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ epsilon()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION mag_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::epsilon ( )
inlinestatic

Definition at line 143 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ isnaninf()

template<typename S >
static bool Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::isnaninf ( const val_type x)
inlinestatic

Definition at line 159 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ magnitude()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION mag_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::magnitude ( const val_type x)
inlinestatic

Definition at line 162 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ conjugate()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::conjugate ( const val_type x)
inlinestatic

Definition at line 165 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ name()

template<typename S >
static std::string Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::name ( )
inlinestatic

Definition at line 168 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ squareroot()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::squareroot ( const val_type x)
inlinestatic

Definition at line 171 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ eps()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION mag_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::eps ( )
inlinestatic

Definition at line 174 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ sfmin()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION mag_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::sfmin ( )
inlinestatic

Definition at line 177 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ base()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION int Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::base ( )
inlinestatic

Definition at line 180 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ prec()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION mag_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::prec ( )
inlinestatic

Definition at line 183 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ t()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION int Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::t ( )
inlinestatic

Definition at line 186 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ rnd()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION mag_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::rnd ( )
inlinestatic

Definition at line 189 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ emin()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION int Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::emin ( )
inlinestatic

Definition at line 192 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ rmin()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION mag_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::rmin ( )
inlinestatic

Definition at line 195 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ emax()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION int Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::emax ( )
inlinestatic

Definition at line 198 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ rmax()

template<typename S >
static KOKKOS_FORCEINLINE_FUNCTION mag_type Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::rmax ( )
inlinestatic

Definition at line 201 of file Kokkos_ArithTraits_UQ_PCE.hpp.

Member Data Documentation

◆ is_specialized

template<typename S >
const bool Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::is_specialized = true
static

Definition at line 68 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ is_signed

template<typename S >
const bool Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::is_signed = BAT::is_signed
static

Definition at line 69 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ is_integer

template<typename S >
const bool Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::is_integer = BAT::is_integer
static

Definition at line 70 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ is_exact

template<typename S >
const bool Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::is_exact = BAT::is_exact
static

Definition at line 71 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ is_complex

template<typename S >
const bool Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::is_complex = BAT::is_complex
static

Definition at line 72 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ isComplex

template<typename S >
const bool Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::isComplex = is_complex
static

Definition at line 155 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ isOrdinal

template<typename S >
const bool Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::isOrdinal = is_integer
static

Definition at line 156 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ isComparable

template<typename S >
const bool Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::isComparable = BAT::isComparable
static

Definition at line 157 of file Kokkos_ArithTraits_UQ_PCE.hpp.

◆ hasMachineParameters

template<typename S >
const bool Kokkos::Details::ArithTraits< Sacado::UQ::PCE< S > >::hasMachineParameters = BAT::hasMachineParameters
static

Definition at line 158 of file Kokkos_ArithTraits_UQ_PCE.hpp.


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