Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Kokkos::ArithTraits< Sacado::MP::Vector< S > > Class Template Reference

#include <Kokkos_ArithTraits_MP_Vector.hpp>

Public Types

typedef Sacado::MP::Vector< S > val_type
typedef val_type::value_type base_value_type
typedef val_type::ordinal_type ordinal_type
typedef ArithTraits< base_value_typeBAT
typedef val_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::MP::Vector< half_storagehalfPrecision
typedef Sacado::MP::Vector< 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::ArithTraits< Sacado::MP::Vector< S > >

Definition at line 56 of file Kokkos_ArithTraits_MP_Vector.hpp.

Member Typedef Documentation

◆ val_type

template<typename S>
typedef Sacado::MP::Vector<S> Kokkos::ArithTraits< Sacado::MP::Vector< S > >::val_type

Definition at line 58 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ base_value_type

template<typename S>
typedef val_type::value_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::base_value_type

Definition at line 60 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ ordinal_type

template<typename S>
typedef val_type::ordinal_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::ordinal_type

Definition at line 61 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ BAT

template<typename S>
typedef ArithTraits<base_value_type> Kokkos::ArithTraits< Sacado::MP::Vector< S > >::BAT

Definition at line 62 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ mag_type

template<typename S>
typedef val_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::mag_type

Definition at line 67 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ magnitudeType

template<typename S>
typedef mag_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::magnitudeType

Definition at line 155 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ base_half_precision

template<typename S>
typedef BAT::halfPrecision Kokkos::ArithTraits< Sacado::MP::Vector< S > >::base_half_precision

Definition at line 156 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ base_double_precision

template<typename S>
typedef BAT::doublePrecision Kokkos::ArithTraits< Sacado::MP::Vector< S > >::base_double_precision

Definition at line 157 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ half_storage

template<typename S>
typedef Sacado::mpl::apply<S,ordinal_type,base_half_precision>::type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::half_storage

Definition at line 158 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ double_storage

template<typename S>
typedef Sacado::mpl::apply<S,ordinal_type,base_double_precision>::type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::double_storage

Definition at line 159 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ halfPrecision

template<typename S>
typedef Sacado::MP::Vector<half_storage> Kokkos::ArithTraits< Sacado::MP::Vector< S > >::halfPrecision

Definition at line 160 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ doublePrecision

template<typename S>
typedef Sacado::MP::Vector<double_storage> Kokkos::ArithTraits< Sacado::MP::Vector< S > >::doublePrecision

Definition at line 161 of file Kokkos_ArithTraits_MP_Vector.hpp.

Member Function Documentation

◆ isInf()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION bool Kokkos::ArithTraits< Sacado::MP::Vector< S > >::isInf ( const val_type & x)
inlinestatic

Definition at line 76 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ isNan()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION bool Kokkos::ArithTraits< Sacado::MP::Vector< S > >::isNan ( const val_type & x)
inlinestatic

Definition at line 82 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ abs()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION mag_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::abs ( const val_type & x)
inlinestatic

Definition at line 88 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ zero()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::zero ( )
inlinestatic

Definition at line 101 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ one()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::one ( )
inlinestatic

Definition at line 104 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ min()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::min ( )
inlinestatic

Definition at line 107 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ max()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::max ( )
inlinestatic

Definition at line 110 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ real()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::real ( const val_type & x)
inlinestatic

Definition at line 113 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ imag()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::imag ( const val_type & x)
inlinestatic

Definition at line 120 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ conj()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::conj ( const val_type & x)
inlinestatic

Definition at line 127 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ pow()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::pow ( const val_type & x,
const val_type & y )
inlinestatic

Definition at line 134 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ sqrt()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::sqrt ( const val_type & x)
inlinestatic

Definition at line 138 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ log()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::log ( const val_type & x)
inlinestatic

Definition at line 141 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ log10()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::log10 ( const val_type & x)
inlinestatic

Definition at line 144 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ nan()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::nan ( )
inlinestatic

Definition at line 147 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ epsilon()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION mag_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::epsilon ( )
inlinestatic

Definition at line 150 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ isnaninf()

template<typename S>
bool Kokkos::ArithTraits< Sacado::MP::Vector< S > >::isnaninf ( const val_type & x)
inlinestatic

Definition at line 166 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ magnitude()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION mag_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::magnitude ( const val_type & x)
inlinestatic

Definition at line 169 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ conjugate()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::conjugate ( const val_type & x)
inlinestatic

Definition at line 172 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ name()

template<typename S>
std::string Kokkos::ArithTraits< Sacado::MP::Vector< S > >::name ( )
inlinestatic

Definition at line 175 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ squareroot()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION val_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::squareroot ( const val_type & x)
inlinestatic

Definition at line 178 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ eps()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION mag_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::eps ( )
inlinestatic

Definition at line 181 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ sfmin()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION mag_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::sfmin ( )
inlinestatic

Definition at line 184 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ base()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION int Kokkos::ArithTraits< Sacado::MP::Vector< S > >::base ( )
inlinestatic

Definition at line 187 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ prec()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION mag_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::prec ( )
inlinestatic

Definition at line 190 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ t()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION int Kokkos::ArithTraits< Sacado::MP::Vector< S > >::t ( )
inlinestatic

Definition at line 193 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ rnd()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION mag_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::rnd ( )
inlinestatic

Definition at line 196 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ emin()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION int Kokkos::ArithTraits< Sacado::MP::Vector< S > >::emin ( )
inlinestatic

Definition at line 199 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ rmin()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION mag_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::rmin ( )
inlinestatic

Definition at line 202 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ emax()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION int Kokkos::ArithTraits< Sacado::MP::Vector< S > >::emax ( )
inlinestatic

Definition at line 205 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ rmax()

template<typename S>
KOKKOS_FORCEINLINE_FUNCTION mag_type Kokkos::ArithTraits< Sacado::MP::Vector< S > >::rmax ( )
inlinestatic

Definition at line 208 of file Kokkos_ArithTraits_MP_Vector.hpp.

Member Data Documentation

◆ is_specialized

template<typename S>
const bool Kokkos::ArithTraits< Sacado::MP::Vector< S > >::is_specialized = true
static

Definition at line 70 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ is_signed

template<typename S>
const bool Kokkos::ArithTraits< Sacado::MP::Vector< S > >::is_signed = BAT::is_signed
static

Definition at line 71 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ is_integer

template<typename S>
const bool Kokkos::ArithTraits< Sacado::MP::Vector< S > >::is_integer = BAT::is_integer
static

Definition at line 72 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ is_exact

template<typename S>
const bool Kokkos::ArithTraits< Sacado::MP::Vector< S > >::is_exact = BAT::is_exact
static

Definition at line 73 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ is_complex

template<typename S>
const bool Kokkos::ArithTraits< Sacado::MP::Vector< S > >::is_complex = BAT::is_complex
static

Definition at line 74 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ isComplex

template<typename S>
const bool Kokkos::ArithTraits< Sacado::MP::Vector< S > >::isComplex = is_complex
static

Definition at line 162 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ isOrdinal

template<typename S>
const bool Kokkos::ArithTraits< Sacado::MP::Vector< S > >::isOrdinal = is_integer
static

Definition at line 163 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ isComparable

template<typename S>
const bool Kokkos::ArithTraits< Sacado::MP::Vector< S > >::isComparable = BAT::isComparable
static

Definition at line 164 of file Kokkos_ArithTraits_MP_Vector.hpp.

◆ hasMachineParameters

template<typename S>
const bool Kokkos::ArithTraits< Sacado::MP::Vector< S > >::hasMachineParameters = BAT::hasMachineParameters
static

Definition at line 165 of file Kokkos_ArithTraits_MP_Vector.hpp.


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