Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Sacado::UQ::PCEScalarTraitsImp< PCEType > Struct Template Reference

Implementation for Teuchos::ScalarTraits for all PCE types. More...

#include <Sacado_UQ_PCE_ScalarTraitsImp.hpp>

Inheritance diagram for Sacado::UQ::PCEScalarTraitsImp< PCEType >:
Inheritance graph
[legend]

Public Types

typedef PCEType::storage_type storage_type
 
typedef storage_type::value_type value_type
 
typedef storage_type::ordinal_type ordinal_type
 
typedef Teuchos::ScalarTraits
< value_type
TVT
 
typedef TVT::magnitudeType value_mag_type
 
typedef TVT::halfPrecision value_half_type
 
typedef TVT::doublePrecision value_double_type
 
typedef Sacado::mpl::apply
< storage_type, ordinal_type,
value_mag_type >::type 
storage_mag_type
 
typedef Sacado::mpl::apply
< storage_type, ordinal_type,
value_half_type >::type 
storage_half_type
 
typedef Sacado::mpl::apply
< storage_type, ordinal_type,
value_double_type >::type 
storage_double_type
 
typedef value_mag_type magnitudeType
 
typedef Sacado::mpl::apply
< PCEType, storage_half_type >
::type 
halfPrecision
 
typedef Sacado::mpl::apply
< PCEType, storage_double_type >
::type 
doublePrecision
 
typedef TVT::coordinateType coordinateType
 
typedef value_type innerProductType
 

Static Public Member Functions

static value_mag_type eps ()
 
static value_mag_type sfmin ()
 
static value_mag_type base ()
 
static value_mag_type prec ()
 
static value_mag_type t ()
 
static value_mag_type rnd ()
 
static value_mag_type emin ()
 
static value_mag_type rmin ()
 
static value_mag_type emax ()
 
static value_mag_type rmax ()
 
static magnitudeType magnitude (const PCEType &a)
 
static innerProductType innerProduct (const PCEType &a, const PCEType &b)
 
static PCEType zero ()
 
static PCEType one ()
 
static PCEType conjugate (const PCEType &x)
 
static magnitudeType real (const PCEType &x)
 
static magnitudeType imag (const PCEType &x)
 
static value_type nan ()
 
static bool isnaninf (const PCEType &x)
 
static void seedrandom (unsigned int s)
 
static PCEType random ()
 
static const char * name ()
 
static PCEType squareroot (const PCEType &x)
 
static PCEType pow (const PCEType &x, const PCEType &y)
 
static PCEType log (const PCEType &x)
 
static PCEType log10 (const PCEType &x)
 

Static Public Attributes

static const bool isComplex = TVT::isComplex
 
static const bool isOrdinal = TVT::isOrdinal
 
static const bool isComparable = TVT::isComparable
 
static const bool hasMachineParameters = TVT::hasMachineParameters
 

Detailed Description

template<typename PCEType>
struct Sacado::UQ::PCEScalarTraitsImp< PCEType >

Implementation for Teuchos::ScalarTraits for all PCE types.

Definition at line 60 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Member Typedef Documentation

template<typename PCEType>
typedef PCEType::storage_type Sacado::UQ::PCEScalarTraitsImp< PCEType >::storage_type

Definition at line 61 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
typedef storage_type::value_type Sacado::UQ::PCEScalarTraitsImp< PCEType >::value_type

Definition at line 62 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
typedef storage_type::ordinal_type Sacado::UQ::PCEScalarTraitsImp< PCEType >::ordinal_type

Definition at line 63 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Definition at line 64 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Definition at line 66 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Definition at line 67 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Definition at line 68 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
typedef Sacado::mpl::apply<storage_type,ordinal_type,value_mag_type>::type Sacado::UQ::PCEScalarTraitsImp< PCEType >::storage_mag_type

Definition at line 70 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
typedef Sacado::mpl::apply<storage_type,ordinal_type,value_half_type>::type Sacado::UQ::PCEScalarTraitsImp< PCEType >::storage_half_type

Definition at line 71 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
typedef Sacado::mpl::apply<storage_type,ordinal_type,value_double_type>::type Sacado::UQ::PCEScalarTraitsImp< PCEType >::storage_double_type

Definition at line 72 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
typedef value_mag_type Sacado::UQ::PCEScalarTraitsImp< PCEType >::magnitudeType

Definition at line 74 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
typedef Sacado::mpl::apply<PCEType, storage_half_type>::type Sacado::UQ::PCEScalarTraitsImp< PCEType >::halfPrecision

Definition at line 75 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
typedef Sacado::mpl::apply<PCEType, storage_double_type>::type Sacado::UQ::PCEScalarTraitsImp< PCEType >::doublePrecision

Definition at line 76 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Definition at line 77 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
typedef value_type Sacado::UQ::PCEScalarTraitsImp< PCEType >::innerProductType

Definition at line 79 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Member Function Documentation

template<typename PCEType>
static value_mag_type Sacado::UQ::PCEScalarTraitsImp< PCEType >::eps ( )
inlinestatic

Definition at line 86 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static value_mag_type Sacado::UQ::PCEScalarTraitsImp< PCEType >::sfmin ( )
inlinestatic

Definition at line 88 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static value_mag_type Sacado::UQ::PCEScalarTraitsImp< PCEType >::base ( )
inlinestatic

Definition at line 90 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static value_mag_type Sacado::UQ::PCEScalarTraitsImp< PCEType >::prec ( )
inlinestatic

Definition at line 92 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static value_mag_type Sacado::UQ::PCEScalarTraitsImp< PCEType >::t ( )
inlinestatic

Definition at line 94 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static value_mag_type Sacado::UQ::PCEScalarTraitsImp< PCEType >::rnd ( )
inlinestatic

Definition at line 96 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static value_mag_type Sacado::UQ::PCEScalarTraitsImp< PCEType >::emin ( )
inlinestatic

Definition at line 98 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static value_mag_type Sacado::UQ::PCEScalarTraitsImp< PCEType >::rmin ( )
inlinestatic

Definition at line 100 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static value_mag_type Sacado::UQ::PCEScalarTraitsImp< PCEType >::emax ( )
inlinestatic

Definition at line 102 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static value_mag_type Sacado::UQ::PCEScalarTraitsImp< PCEType >::rmax ( )
inlinestatic

Definition at line 104 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static magnitudeType Sacado::UQ::PCEScalarTraitsImp< PCEType >::magnitude ( const PCEType a)
inlinestatic

Definition at line 106 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static innerProductType Sacado::UQ::PCEScalarTraitsImp< PCEType >::innerProduct ( const PCEType a,
const PCEType b 
)
inlinestatic

Definition at line 110 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static PCEType Sacado::UQ::PCEScalarTraitsImp< PCEType >::zero ( )
inlinestatic

Definition at line 114 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static PCEType Sacado::UQ::PCEScalarTraitsImp< PCEType >::one ( )
inlinestatic

Definition at line 116 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static PCEType Sacado::UQ::PCEScalarTraitsImp< PCEType >::conjugate ( const PCEType x)
inlinestatic

Definition at line 118 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static magnitudeType Sacado::UQ::PCEScalarTraitsImp< PCEType >::real ( const PCEType x)
inlinestatic

Definition at line 125 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static magnitudeType Sacado::UQ::PCEScalarTraitsImp< PCEType >::imag ( const PCEType x)
inlinestatic

Definition at line 135 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static value_type Sacado::UQ::PCEScalarTraitsImp< PCEType >::nan ( )
inlinestatic

Definition at line 146 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static bool Sacado::UQ::PCEScalarTraitsImp< PCEType >::isnaninf ( const PCEType x)
inlinestatic

Definition at line 148 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static void Sacado::UQ::PCEScalarTraitsImp< PCEType >::seedrandom ( unsigned int  s)
inlinestatic

Definition at line 155 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static PCEType Sacado::UQ::PCEScalarTraitsImp< PCEType >::random ( )
inlinestatic

Definition at line 157 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static const char* Sacado::UQ::PCEScalarTraitsImp< PCEType >::name ( )
inlinestatic

Definition at line 159 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static PCEType Sacado::UQ::PCEScalarTraitsImp< PCEType >::squareroot ( const PCEType x)
inlinestatic

Definition at line 161 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static PCEType Sacado::UQ::PCEScalarTraitsImp< PCEType >::pow ( const PCEType x,
const PCEType y 
)
inlinestatic

Definition at line 163 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static PCEType Sacado::UQ::PCEScalarTraitsImp< PCEType >::log ( const PCEType x)
inlinestatic

Definition at line 167 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static PCEType Sacado::UQ::PCEScalarTraitsImp< PCEType >::log10 ( const PCEType x)
inlinestatic

Definition at line 169 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Member Data Documentation

template<typename PCEType>
const bool Sacado::UQ::PCEScalarTraitsImp< PCEType >::isComplex = TVT::isComplex
static

Definition at line 81 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
const bool Sacado::UQ::PCEScalarTraitsImp< PCEType >::isOrdinal = TVT::isOrdinal
static

Definition at line 82 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
const bool Sacado::UQ::PCEScalarTraitsImp< PCEType >::isComparable = TVT::isComparable
static

Definition at line 83 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
const bool Sacado::UQ::PCEScalarTraitsImp< PCEType >::hasMachineParameters = TVT::hasMachineParameters
static

Definition at line 84 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.


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