Teuchos 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
Teuchos::ScalarTraits< std::pair< Packet, Packet > > Struct Template Reference

Public Types

typedef ScalarTraits< Packet > PST
 
typedef std::pair< typename
PST::magnitudeType, typename
PST::magnitudeType
magnitudeType
 

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 Public Attributes

static const bool isComplex = PST::isComplex
 
static const bool isComparable = PST::isComparable
 
static const bool hasMachineParameters = PST::hasMachineParameters
 

Detailed Description

template<typename Packet>
struct Teuchos::ScalarTraits< std::pair< Packet, Packet > >

Definition at line 46 of file DefaultMpiComm_UnitTests.cpp.

Member Typedef Documentation

template<typename Packet >
typedef ScalarTraits<Packet> Teuchos::ScalarTraits< std::pair< Packet, Packet > >::PST

Definition at line 48 of file DefaultMpiComm_UnitTests.cpp.

template<typename Packet >
typedef std::pair<typename PST::magnitudeType, typename PST::magnitudeType> Teuchos::ScalarTraits< std::pair< Packet, Packet > >::magnitudeType

Definition at line 49 of file DefaultMpiComm_UnitTests.cpp.

Member Function Documentation

template<typename Packet >
static magnitudeType Teuchos::ScalarTraits< std::pair< Packet, Packet > >::magnitude ( std::pair< Packet, Packet >  a)
inlinestatic

Definition at line 54 of file DefaultMpiComm_UnitTests.cpp.

template<typename Packet >
static std::pair<Packet,Packet> Teuchos::ScalarTraits< std::pair< Packet, Packet > >::zero ( )
inlinestatic

Definition at line 55 of file DefaultMpiComm_UnitTests.cpp.

template<typename Packet >
static std::pair<Packet,Packet> Teuchos::ScalarTraits< std::pair< Packet, Packet > >::one ( )
inlinestatic

Definition at line 56 of file DefaultMpiComm_UnitTests.cpp.

template<typename Packet >
static std::pair<Packet,Packet> Teuchos::ScalarTraits< std::pair< Packet, Packet > >::conjugate ( std::pair< Packet, Packet >  x)
inlinestatic

Definition at line 57 of file DefaultMpiComm_UnitTests.cpp.

template<typename Packet >
static std::pair<Packet,Packet> Teuchos::ScalarTraits< std::pair< Packet, Packet > >::real ( std::pair< Packet, Packet >  x)
inlinestatic

Definition at line 58 of file DefaultMpiComm_UnitTests.cpp.

template<typename Packet >
static std::pair<Packet,Packet> Teuchos::ScalarTraits< std::pair< Packet, Packet > >::imag ( std::pair< Packet, Packet >  x)
inlinestatic

Definition at line 59 of file DefaultMpiComm_UnitTests.cpp.

template<typename Packet >
static bool Teuchos::ScalarTraits< std::pair< Packet, Packet > >::isnaninf ( std::pair< Packet, Packet >  x)
inlinestatic

Definition at line 60 of file DefaultMpiComm_UnitTests.cpp.

template<typename Packet >
static void Teuchos::ScalarTraits< std::pair< Packet, Packet > >::seedrandom ( unsigned int  s)
inlinestatic

Definition at line 61 of file DefaultMpiComm_UnitTests.cpp.

template<typename Packet >
static std::pair<Packet,Packet> Teuchos::ScalarTraits< std::pair< Packet, Packet > >::random ( )
inlinestatic

Definition at line 62 of file DefaultMpiComm_UnitTests.cpp.

template<typename Packet >
static std::string Teuchos::ScalarTraits< std::pair< Packet, Packet > >::name ( )
inlinestatic

Definition at line 63 of file DefaultMpiComm_UnitTests.cpp.

template<typename Packet >
static std::pair<Packet,Packet> Teuchos::ScalarTraits< std::pair< Packet, Packet > >::squareroot ( std::pair< Packet, Packet >  x)
inlinestatic

Definition at line 64 of file DefaultMpiComm_UnitTests.cpp.

template<typename Packet >
static std::pair<Packet,Packet> Teuchos::ScalarTraits< std::pair< Packet, Packet > >::pow ( std::pair< Packet, Packet >  x,
std::pair< Packet, Packet >  y 
)
inlinestatic

Definition at line 65 of file DefaultMpiComm_UnitTests.cpp.

Member Data Documentation

template<typename Packet >
const bool Teuchos::ScalarTraits< std::pair< Packet, Packet > >::isComplex = PST::isComplex
static

Definition at line 50 of file DefaultMpiComm_UnitTests.cpp.

template<typename Packet >
const bool Teuchos::ScalarTraits< std::pair< Packet, Packet > >::isComparable = PST::isComparable
static

Definition at line 51 of file DefaultMpiComm_UnitTests.cpp.

template<typename Packet >
const bool Teuchos::ScalarTraits< std::pair< Packet, Packet > >::hasMachineParameters = PST::hasMachineParameters
static

Definition at line 52 of file DefaultMpiComm_UnitTests.cpp.


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