Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Teuchos::ScalarTraits< long int > Struct Template Reference

#include <Teuchos_ScalarTraitsCUDA.hpp>

Public Types

typedef long int magnitudeType
 
typedef long int halfPrecision
 
typedef long int doublePrecision
 

Static Public Member Functions

static __device__ __host__ magnitudeType magnitude (long int a)
 
static __device__ __host__ long int zero ()
 
static __device__ __host__ long int one ()
 
static __device__ __host__ long int conjugate (long int x)
 
static __device__ __host__ long int real (long int x)
 
static __device__ __host__ long int imag (long int)
 
static __device__ __host__ bool isnaninf (int)
 
static __device__ __host__ long int squareroot (long int x)
 
static __device__ __host__ long int pow (long int x, long int y)
 

Static Public Attributes

static const bool isComplex = false
 
static const bool isOrdinal = true
 
static const bool isComparable = true
 
static const bool hasMachineParameters = false
 

Detailed Description

template<>
struct Teuchos::ScalarTraits< long int >

Definition at line 75 of file Teuchos_ScalarTraitsCUDA.hpp.

Member Typedef Documentation

typedef long int Teuchos::ScalarTraits< long int >::magnitudeType

Definition at line 77 of file Teuchos_ScalarTraitsCUDA.hpp.

typedef long int Teuchos::ScalarTraits< long int >::halfPrecision

Definition at line 78 of file Teuchos_ScalarTraitsCUDA.hpp.

typedef long int Teuchos::ScalarTraits< long int >::doublePrecision

Definition at line 79 of file Teuchos_ScalarTraitsCUDA.hpp.

Member Function Documentation

static __device__ __host__ magnitudeType Teuchos::ScalarTraits< long int >::magnitude ( long int  a)
inlinestatic

Definition at line 85 of file Teuchos_ScalarTraitsCUDA.hpp.

static __device__ __host__ long int Teuchos::ScalarTraits< long int >::zero ( )
inlinestatic

Definition at line 86 of file Teuchos_ScalarTraitsCUDA.hpp.

static __device__ __host__ long int Teuchos::ScalarTraits< long int >::one ( )
inlinestatic

Definition at line 87 of file Teuchos_ScalarTraitsCUDA.hpp.

static __device__ __host__ long int Teuchos::ScalarTraits< long int >::conjugate ( long int  x)
inlinestatic

Definition at line 88 of file Teuchos_ScalarTraitsCUDA.hpp.

static __device__ __host__ long int Teuchos::ScalarTraits< long int >::real ( long int  x)
inlinestatic

Definition at line 89 of file Teuchos_ScalarTraitsCUDA.hpp.

static __device__ __host__ long int Teuchos::ScalarTraits< long int >::imag ( long  int)
inlinestatic

Definition at line 90 of file Teuchos_ScalarTraitsCUDA.hpp.

static __device__ __host__ bool Teuchos::ScalarTraits< long int >::isnaninf ( int  )
inlinestatic

Definition at line 91 of file Teuchos_ScalarTraitsCUDA.hpp.

static __device__ __host__ long int Teuchos::ScalarTraits< long int >::squareroot ( long int  x)
inlinestatic

Definition at line 92 of file Teuchos_ScalarTraitsCUDA.hpp.

static __device__ __host__ long int Teuchos::ScalarTraits< long int >::pow ( long int  x,
long int  y 
)
inlinestatic

Definition at line 93 of file Teuchos_ScalarTraitsCUDA.hpp.

Member Data Documentation

const bool Teuchos::ScalarTraits< long int >::isComplex = false
static

Definition at line 80 of file Teuchos_ScalarTraitsCUDA.hpp.

const bool Teuchos::ScalarTraits< long int >::isOrdinal = true
static

Definition at line 81 of file Teuchos_ScalarTraitsCUDA.hpp.

const bool Teuchos::ScalarTraits< long int >::isComparable = true
static

Definition at line 82 of file Teuchos_ScalarTraitsCUDA.hpp.

const bool Teuchos::ScalarTraits< long int >::hasMachineParameters = false
static

Definition at line 83 of file Teuchos_ScalarTraitsCUDA.hpp.


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