Stokhos Development
Loading...
Searching...
No Matches
Sacado::UQ::PCEScalarTraitsImp< PCEType > Struct Template Reference

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

#include <Sacado_UQ_PCE_ScalarTraitsImp.hpp>

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.


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