|
Teuchos Package Browser (Single Doxygen Collection) Version of the Day
|

Public Types | |
| typedef ScalarTraits< Packet > | PST |
| typedef std::pair< typename PST::magnitudeType, typename PST::magnitudeType > | magnitudeType |
| typedef std::pair< Packet, Packet > | magnitudeType |
| Mandatory typedef for result of magnitude. | |
| typedef std::pair< Packet, Packet > | halfPrecision |
| Typedef for half precision. | |
| typedef std::pair< Packet, Packet > | doublePrecision |
| Typedef for double precision. | |
| typedef std::pair< Packet, Packet > | coordinateType |
| Typedef for coordinates. | |
Static Public Member Functions | |
| static magnitudeType | magnitude (std::pair< Packet, Packet > a) |
| static std::pair< Packet, Packet > | zero () |
| static std::pair< Packet, Packet > | one () |
| static std::pair< Packet, Packet > | conjugate (std::pair< Packet, Packet > x) |
| static std::pair< Packet, Packet > | real (std::pair< Packet, Packet > x) |
| static std::pair< Packet, Packet > | imag (std::pair< Packet, Packet > x) |
| static bool | isnaninf (std::pair< Packet, Packet > x) |
| static void | seedrandom (unsigned int s) |
| static std::pair< Packet, Packet > | random () |
| static std::string | name () |
| static std::pair< Packet, Packet > | squareroot (std::pair< Packet, Packet > x) |
| static std::pair< Packet, Packet > | pow (std::pair< Packet, Packet > x, std::pair< Packet, Packet > y) |
| static magnitudeType | eps () |
| Returns relative machine precision. | |
| static magnitudeType | sfmin () |
| Returns safe minimum (sfmin), such that 1/sfmin does not overflow. | |
| static magnitudeType | base () |
| Returns the base of the machine. | |
| static magnitudeType | prec () |
Returns eps*base. | |
| static magnitudeType | t () |
| Returns the number of (base) digits in the mantissa. | |
| static magnitudeType | rnd () |
| Returns 1.0 when rounding occurs in addition, 0.0 otherwise. | |
| static magnitudeType | emin () |
| Returns the minimum exponent before (gradual) underflow. | |
| static magnitudeType | rmin () |
Returns the underflow threshold - base^(emin-1). | |
| static magnitudeType | emax () |
| Returns the largest exponent before overflow. | |
| static magnitudeType | rmax () |
Overflow theshold - (base^emax)*(1-eps). | |
| static magnitudeType | magnitude (std::pair< Packet, Packet > a) |
Returns the magnitudeType of the scalar type a. | |
| static std::pair< Packet, Packet > | zero () |
| Returns representation of zero for this scalar type. | |
| static std::pair< Packet, Packet > | one () |
| Returns representation of one for this scalar type. | |
| static magnitudeType | real (std::pair< Packet, Packet > a) |
Returns the real part of the scalar type a. | |
| static magnitudeType | imag (std::pair< Packet, Packet > a) |
Returns the imaginary part of the scalar type a. | |
| static std::pair< Packet, Packet > | conjugate (std::pair< Packet, Packet > a) |
Returns the conjugate of the scalar type a. | |
| static std::pair< Packet, Packet > | nan () |
| Returns a number that represents NaN. | |
| static bool | isnaninf (const std::pair< Packet, Packet > &x) |
| Returns true if x is NaN or Inf. | |
| static void | seedrandom (unsigned int s) |
| Seed the random number generator returned by random(). | |
| static std::pair< Packet, Packet > | random () |
| Returns a random number (between -one() and +one()) of this scalar type. | |
| static std::string | name () |
| Returns the name of this scalar type. | |
| static std::pair< Packet, Packet > | squareroot (std::pair< Packet, Packet > x) |
Returns a number of magnitudeType that is the square root of this scalar type x. | |
| static std::pair< Packet, Packet > | pow (std::pair< Packet, Packet > x, std::pair< Packet, Packet > y) |
Returns the result of raising one scalar x to the power y. | |
| static std::pair< Packet, Packet > | pi () |
| Returns the value of PI. | |
Static Public Attributes | |
| static const bool | isComplex = PST::isComplex |
| static const bool | isComparable = PST::isComparable |
| static const bool | hasMachineParameters = PST::hasMachineParameters |
| static const bool | isComplex |
| Determines if scalar type is std::complex. | |
| static const bool | isOrdinal |
| Determines if scalar type is an ordinal type. | |
| static const bool | isComparable |
| Determines if scalar type supports relational operators such as <, >, <=, >=. | |
| static const bool | hasMachineParameters |
| Determines if scalar type have machine-specific parameters (i.e. eps(), sfmin(), base(), prec(), t(), rnd(), emin(), rmin(), emax(), rmax() are supported). | |
Definition at line 80 of file DefaultMpiComm_UnitTests.cpp.
| typedef ScalarTraits<Packet> Teuchos::ScalarTraits< std::pair< Packet, Packet > >::PST |
Definition at line 82 of file DefaultMpiComm_UnitTests.cpp.
| typedef std::pair<typename PST::magnitudeType, typename PST::magnitudeType> Teuchos::ScalarTraits< std::pair< Packet, Packet > >::magnitudeType |
Definition at line 83 of file DefaultMpiComm_UnitTests.cpp.
| typedef std::pair< Packet, Packet > Teuchos::ScalarTraits< std::pair< Packet, Packet > >::magnitudeType |
Mandatory typedef for result of magnitude.
Definition at line 93 of file Teuchos_ScalarTraitsDecl.hpp.
| typedef std::pair< Packet, Packet > Teuchos::ScalarTraits< std::pair< Packet, Packet > >::halfPrecision |
Typedef for half precision.
Definition at line 95 of file Teuchos_ScalarTraitsDecl.hpp.
| typedef std::pair< Packet, Packet > Teuchos::ScalarTraits< std::pair< Packet, Packet > >::doublePrecision |
Typedef for double precision.
Definition at line 97 of file Teuchos_ScalarTraitsDecl.hpp.
| typedef std::pair< Packet, Packet > Teuchos::ScalarTraits< std::pair< Packet, Packet > >::coordinateType |
Typedef for coordinates.
Definition at line 99 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Definition at line 88 of file DefaultMpiComm_UnitTests.cpp.
|
inlinestatic |
Definition at line 89 of file DefaultMpiComm_UnitTests.cpp.
|
inlinestatic |
Definition at line 90 of file DefaultMpiComm_UnitTests.cpp.
|
inlinestatic |
Definition at line 91 of file DefaultMpiComm_UnitTests.cpp.
|
inlinestatic |
Definition at line 92 of file DefaultMpiComm_UnitTests.cpp.
|
inlinestatic |
Definition at line 93 of file DefaultMpiComm_UnitTests.cpp.
|
inlinestatic |
Definition at line 94 of file DefaultMpiComm_UnitTests.cpp.
|
inlinestatic |
Definition at line 95 of file DefaultMpiComm_UnitTests.cpp.
|
inlinestatic |
Definition at line 96 of file DefaultMpiComm_UnitTests.cpp.
|
inlinestatic |
Definition at line 97 of file DefaultMpiComm_UnitTests.cpp.
|
inlinestatic |
Definition at line 98 of file DefaultMpiComm_UnitTests.cpp.
|
inlinestatic |
Definition at line 99 of file DefaultMpiComm_UnitTests.cpp.
|
inlinestatic |
Returns relative machine precision.
Definition at line 112 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns safe minimum (sfmin), such that 1/sfmin does not overflow.
Definition at line 114 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns the base of the machine.
Definition at line 116 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns eps*base.
Definition at line 118 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns the number of (base) digits in the mantissa.
Definition at line 120 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns 1.0 when rounding occurs in addition, 0.0 otherwise.
Definition at line 122 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns the minimum exponent before (gradual) underflow.
Definition at line 124 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns the underflow threshold - base^(emin-1).
Definition at line 126 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns the largest exponent before overflow.
Definition at line 128 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Overflow theshold - (base^emax)*(1-eps).
Definition at line 130 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns the magnitudeType of the scalar type a.
Definition at line 132 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns representation of zero for this scalar type.
Definition at line 134 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns representation of one for this scalar type.
Definition at line 136 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns the real part of the scalar type a.
Definition at line 138 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns the imaginary part of the scalar type a.
Definition at line 140 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns the conjugate of the scalar type a.
Definition at line 142 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns a number that represents NaN.
Definition at line 144 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns true if x is NaN or Inf.
Definition at line 146 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Seed the random number generator returned by random().
Definition at line 148 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns a random number (between -one() and +one()) of this scalar type.
Definition at line 150 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns the name of this scalar type.
Definition at line 152 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns a number of magnitudeType that is the square root of this scalar type x.
Definition at line 154 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns the result of raising one scalar x to the power y.
Definition at line 156 of file Teuchos_ScalarTraitsDecl.hpp.
|
inlinestatic |
Returns the value of PI.
Definition at line 158 of file Teuchos_ScalarTraitsDecl.hpp.
|
static |
Definition at line 84 of file DefaultMpiComm_UnitTests.cpp.
|
static |
Definition at line 85 of file DefaultMpiComm_UnitTests.cpp.
|
static |
Definition at line 86 of file DefaultMpiComm_UnitTests.cpp.
|
static |
Determines if scalar type is std::complex.
Definition at line 101 of file Teuchos_ScalarTraitsDecl.hpp.
|
static |
Determines if scalar type is an ordinal type.
Definition at line 103 of file Teuchos_ScalarTraitsDecl.hpp.
|
static |
Determines if scalar type supports relational operators such as <, >, <=, >=.
Definition at line 105 of file Teuchos_ScalarTraitsDecl.hpp.
|
static |