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::PCE::ScalarTraitsImp< PCEType > Struct Template Reference

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

#include <Sacado_PCE_ScalarTraitsImp.hpp>

Inheritance diagram for Sacado::PCE::ScalarTraitsImp< PCEType >:
Inheritance graph
[legend]

Public Types

typedef Sacado::ValueType
< PCEType >::type 
ValueT
 
typedef Teuchos::ScalarTraits
< ValueT >::magnitudeType 
magnitudeType
 
typedef ValueT innerProductType
 
typedef mpl::apply< PCEType,
typename Teuchos::ScalarTraits
< ValueT >::halfPrecision >
::type 
halfPrecision
 
typedef mpl::apply< PCEType,
typename Teuchos::ScalarTraits
< ValueT >::doublePrecision >
::type 
doublePrecision
 

Static Public Member Functions

static Teuchos::ScalarTraits
< ValueT >::magnitudeType 
eps ()
 
static Teuchos::ScalarTraits
< ValueT >::magnitudeType 
sfmin ()
 
static Teuchos::ScalarTraits
< ValueT >::magnitudeType 
base ()
 
static Teuchos::ScalarTraits
< ValueT >::magnitudeType 
prec ()
 
static Teuchos::ScalarTraits
< ValueT >::magnitudeType 
t ()
 
static Teuchos::ScalarTraits
< ValueT >::magnitudeType 
rnd ()
 
static Teuchos::ScalarTraits
< ValueT >::magnitudeType 
emin ()
 
static Teuchos::ScalarTraits
< ValueT >::magnitudeType 
rmin ()
 
static Teuchos::ScalarTraits
< ValueT >::magnitudeType 
emax ()
 
static Teuchos::ScalarTraits
< ValueT >::magnitudeType 
rmax ()
 
static magnitudeType magnitude (const PCEType &a)
 
static innerProductType innerProduct (const PCEType &a, const PCEType &b)
 
static ValueT zero ()
 
static ValueT one ()
 
static PCEType conjugate (const PCEType &x)
 
static PCEType real (const PCEType &x)
 
static PCEType imag (const PCEType &x)
 
static ValueT nan ()
 
static bool isnaninf (const PCEType &x)
 
static void seedrandom (unsigned int s)
 
static ValueT random ()
 
static std::string 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 bool is_complex_real (const ValueT &x)
 
static bool is_pce_real (const PCEType &x)
 

Static Public Attributes

static const bool isComplex = Teuchos::ScalarTraits<ValueT>::isComplex
 
static const bool isOrdinal = Teuchos::ScalarTraits<ValueT>::isOrdinal
 
static const bool isComparable
 
static const bool hasMachineParameters
 

Detailed Description

template<typename PCEType>
struct Sacado::PCE::ScalarTraitsImp< PCEType >

Implementation for Teuchos::ScalarTraits for all PCE types.

Definition at line 26 of file Sacado_PCE_ScalarTraitsImp.hpp.

Member Typedef Documentation

template<typename PCEType>
typedef Sacado::ValueType<PCEType>::type Sacado::PCE::ScalarTraitsImp< PCEType >::ValueT

Definition at line 27 of file Sacado_PCE_ScalarTraitsImp.hpp.

Definition at line 29 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
typedef ValueT Sacado::PCE::ScalarTraitsImp< PCEType >::innerProductType

Definition at line 31 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
typedef mpl::apply<PCEType,typename Teuchos::ScalarTraits<ValueT>::halfPrecision>::type Sacado::PCE::ScalarTraitsImp< PCEType >::halfPrecision

Definition at line 32 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
typedef mpl::apply<PCEType,typename Teuchos::ScalarTraits<ValueT>::doublePrecision>::type Sacado::PCE::ScalarTraitsImp< PCEType >::doublePrecision

Definition at line 33 of file Sacado_PCE_ScalarTraitsImp.hpp.

Member Function Documentation

template<typename PCEType>
static Teuchos::ScalarTraits<ValueT>::magnitudeType Sacado::PCE::ScalarTraitsImp< PCEType >::eps ( )
inlinestatic

Definition at line 41 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static Teuchos::ScalarTraits<ValueT>::magnitudeType Sacado::PCE::ScalarTraitsImp< PCEType >::sfmin ( )
inlinestatic

Definition at line 44 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static Teuchos::ScalarTraits<ValueT>::magnitudeType Sacado::PCE::ScalarTraitsImp< PCEType >::base ( )
inlinestatic

Definition at line 47 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static Teuchos::ScalarTraits<ValueT>::magnitudeType Sacado::PCE::ScalarTraitsImp< PCEType >::prec ( )
inlinestatic

Definition at line 50 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static Teuchos::ScalarTraits<ValueT>::magnitudeType Sacado::PCE::ScalarTraitsImp< PCEType >::t ( )
inlinestatic

Definition at line 53 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static Teuchos::ScalarTraits<ValueT>::magnitudeType Sacado::PCE::ScalarTraitsImp< PCEType >::rnd ( )
inlinestatic

Definition at line 56 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static Teuchos::ScalarTraits<ValueT>::magnitudeType Sacado::PCE::ScalarTraitsImp< PCEType >::emin ( )
inlinestatic

Definition at line 59 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static Teuchos::ScalarTraits<ValueT>::magnitudeType Sacado::PCE::ScalarTraitsImp< PCEType >::rmin ( )
inlinestatic

Definition at line 62 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static Teuchos::ScalarTraits<ValueT>::magnitudeType Sacado::PCE::ScalarTraitsImp< PCEType >::emax ( )
inlinestatic

Definition at line 65 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static Teuchos::ScalarTraits<ValueT>::magnitudeType Sacado::PCE::ScalarTraitsImp< PCEType >::rmax ( )
inlinestatic

Definition at line 68 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static magnitudeType Sacado::PCE::ScalarTraitsImp< PCEType >::magnitude ( const PCEType a)
inlinestatic

Definition at line 71 of file Sacado_PCE_ScalarTraitsImp.hpp.

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

Definition at line 82 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static ValueT Sacado::PCE::ScalarTraitsImp< PCEType >::zero ( )
inlinestatic

Definition at line 93 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static ValueT Sacado::PCE::ScalarTraitsImp< PCEType >::one ( )
inlinestatic

Definition at line 96 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static PCEType Sacado::PCE::ScalarTraitsImp< PCEType >::conjugate ( const PCEType x)
inlinestatic

Definition at line 101 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static PCEType Sacado::PCE::ScalarTraitsImp< PCEType >::real ( const PCEType x)
inlinestatic

Definition at line 114 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static PCEType Sacado::PCE::ScalarTraitsImp< PCEType >::imag ( const PCEType x)
inlinestatic

Definition at line 127 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static ValueT Sacado::PCE::ScalarTraitsImp< PCEType >::nan ( )
inlinestatic

Definition at line 136 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static bool Sacado::PCE::ScalarTraitsImp< PCEType >::isnaninf ( const PCEType x)
inlinestatic

Definition at line 139 of file Sacado_PCE_ScalarTraitsImp.hpp.

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

Definition at line 145 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static ValueT Sacado::PCE::ScalarTraitsImp< PCEType >::random ( )
inlinestatic

Definition at line 148 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static std::string Sacado::PCE::ScalarTraitsImp< PCEType >::name ( void  )
inlinestatic

Definition at line 151 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static PCEType Sacado::PCE::ScalarTraitsImp< PCEType >::squareroot ( const PCEType x)
inlinestatic

Definition at line 154 of file Sacado_PCE_ScalarTraitsImp.hpp.

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

Definition at line 162 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static PCEType Sacado::PCE::ScalarTraitsImp< PCEType >::log ( const PCEType x)
inlinestatic

Definition at line 165 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static PCEType Sacado::PCE::ScalarTraitsImp< PCEType >::log10 ( const PCEType x)
inlinestatic

Definition at line 168 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static bool Sacado::PCE::ScalarTraitsImp< PCEType >::is_complex_real ( const ValueT x)
inlinestatic

Definition at line 173 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
static bool Sacado::PCE::ScalarTraitsImp< PCEType >::is_pce_real ( const PCEType x)
inlinestatic

Definition at line 179 of file Sacado_PCE_ScalarTraitsImp.hpp.

Member Data Documentation

template<typename PCEType>
const bool Sacado::PCE::ScalarTraitsImp< PCEType >::isComplex = Teuchos::ScalarTraits<ValueT>::isComplex
static

Definition at line 35 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
const bool Sacado::PCE::ScalarTraitsImp< PCEType >::isOrdinal = Teuchos::ScalarTraits<ValueT>::isOrdinal
static

Definition at line 36 of file Sacado_PCE_ScalarTraitsImp.hpp.

template<typename PCEType>
const bool Sacado::PCE::ScalarTraitsImp< PCEType >::isComparable
static
template<typename PCEType>
const bool Sacado::PCE::ScalarTraitsImp< PCEType >::hasMachineParameters
static

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