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 28 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 29 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 30 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 31 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Definition at line 32 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Definition at line 34 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Definition at line 35 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Definition at line 36 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 38 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 39 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 40 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 42 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 43 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 44 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

Definition at line 45 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 47 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 54 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 56 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 58 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 60 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 62 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 64 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 66 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 68 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 70 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 72 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 74 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 78 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 82 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 84 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 86 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 93 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 103 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 114 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 116 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 123 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 125 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 127 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 129 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 131 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 135 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 137 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 49 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 50 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 51 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.

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

Definition at line 52 of file Sacado_UQ_PCE_ScalarTraitsImp.hpp.


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