Stokhos  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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>

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.

Member Data Documentation

template<typename PCEType>
const bool Sacado::PCE::ScalarTraitsImp< PCEType >::hasMachineParameters
static
Initial value:
=
Teuchos::ScalarTraits<ValueT>::hasMachineParameters
template<typename PCEType>
const bool Sacado::PCE::ScalarTraitsImp< PCEType >::isComparable
static
Initial value:
=
Teuchos::ScalarTraits<ValueT>::isComparable

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