PyTrilinos::Teuchos::ScalarTraitsLong Class Reference

Inheritance diagram for PyTrilinos::Teuchos::ScalarTraitsLong:

Inheritance graph
[legend]
Collaboration diagram for PyTrilinos::Teuchos::ScalarTraitsLong:

Collaboration graph
[legend]

List of all members.

Public Member Functions

def magnitude
def zero
def one
def conjugate
def real
def imag
def seedrandom
def random
def name
def squareroot
def pow
def __init__
def magnitude
def zero
def one
def conjugate
def real
def imag
def seedrandom
def random
def name
def squareroot
def pow
def __init__

Public Attributes

 this

Static Public Attributes

 isComplex = _Teuchos.ScalarTraitsLong_isComplex
 isComparable = _Teuchos.ScalarTraitsLong_isComparable
 hasMachineParameters = _Teuchos.ScalarTraitsLong_hasMachineParameters


Detailed Description


Member Function Documentation

def PyTrilinos::Teuchos::ScalarTraitsLong::__init__ (   self,
  args 
)

__init__(self) -> ScalarTraitsLong

This structure defines some basic traits for a scalar field type.

Scalar traits are an essential part of templated codes. This structure
offers the basic traits of the templated scalar type, like defining
zero and one, and basic functions on the templated scalar type, like
performing a square root.

The functions in the templated base unspecialized struct are designed
not to compile (giving a nice compile-time error message) and
therefore specializations must be written for Scalar types actually
used.

The default defined specializations are provided for int, float, and
double.

ScalarTraits can be used with the Arbitrary Precision Library (
http://crd.lbl.gov/~dhbailey/mpdist/ ) by configuring Teuchos with
--enable-teuchos-arprec and giving the appropriate paths to ARPREC.
Then ScalarTraits has the specialization: mp_real.

If Teuchos is configured with --enable-teuchos-stdcomplex then
ScalarTraits also has a parital specialization for all std::complex
numbers of the form std::complex<T>.

C++ includes: Teuchos_ScalarTraits.hpp 

def PyTrilinos::Teuchos::ScalarTraitsLong::__init__ (   self,
  args 
)

__init__(self) -> ScalarTraitsLong

This structure defines some basic traits for a scalar field type.

Scalar traits are an essential part of templated codes. This structure
offers the basic traits of the templated scalar type, like defining
zero and one, and basic functions on the templated scalar type, like
performing a square root.

The functions in the templated base unspecialized struct are designed
not to compile (giving a nice compile-time error message) and
therefore specializations must be written for Scalar types actually
used.

The default defined specializations are provided for int, float, and
double.

ScalarTraits can be used with the Arbitrary Precision Library (
http://crd.lbl.gov/~dhbailey/mpdist/ ) by configuring Teuchos with
--enable-teuchos-arprec and giving the appropriate paths to ARPREC.
Then ScalarTraits has the specialization: mp_real.

If Teuchos is configured with --enable-teuchos-stdcomplex then
ScalarTraits also has a parital specialization for all std::complex
numbers of the form std::complex<T>.

C++ includes: Teuchos_ScalarTraits.hpp 

def PyTrilinos::Teuchos::ScalarTraitsLong::conjugate (   args  ) 

conjugate(long x) -> long

def PyTrilinos::Teuchos::ScalarTraitsLong::conjugate (   args  ) 

conjugate(long x) -> long

def PyTrilinos::Teuchos::ScalarTraitsLong::imag (   args  ) 

imag(long arg0) -> long

def PyTrilinos::Teuchos::ScalarTraitsLong::imag (   args  ) 

imag(long arg0) -> long

def PyTrilinos::Teuchos::ScalarTraitsLong::magnitude (   args  ) 

magnitude(long a) -> magnitudeType

def PyTrilinos::Teuchos::ScalarTraitsLong::magnitude (   args  ) 

magnitude(long a) -> magnitudeType

def PyTrilinos::Teuchos::ScalarTraitsLong::name (   args  ) 

name() -> string

def PyTrilinos::Teuchos::ScalarTraitsLong::name (   args  ) 

name() -> string

def PyTrilinos::Teuchos::ScalarTraitsLong::one (   args  ) 

one() -> long

def PyTrilinos::Teuchos::ScalarTraitsLong::one (   args  ) 

one() -> long

def PyTrilinos::Teuchos::ScalarTraitsLong::pow (   args  ) 

pow(long x, long y) -> long

def PyTrilinos::Teuchos::ScalarTraitsLong::pow (   args  ) 

pow(long x, long y) -> long

def PyTrilinos::Teuchos::ScalarTraitsLong::random (   args  ) 

random() -> long

def PyTrilinos::Teuchos::ScalarTraitsLong::random (   args  ) 

random() -> long

def PyTrilinos::Teuchos::ScalarTraitsLong::real (   args  ) 

real(long x) -> long

def PyTrilinos::Teuchos::ScalarTraitsLong::real (   args  ) 

real(long x) -> long

def PyTrilinos::Teuchos::ScalarTraitsLong::seedrandom (   args  ) 

seedrandom(unsigned int s)

def PyTrilinos::Teuchos::ScalarTraitsLong::seedrandom (   args  ) 

seedrandom(unsigned int s)

def PyTrilinos::Teuchos::ScalarTraitsLong::squareroot (   args  ) 

squareroot(long x) -> long

def PyTrilinos::Teuchos::ScalarTraitsLong::squareroot (   args  ) 

squareroot(long x) -> long

def PyTrilinos::Teuchos::ScalarTraitsLong::zero (   args  ) 

zero() -> long

def PyTrilinos::Teuchos::ScalarTraitsLong::zero (   args  ) 

zero() -> long


The documentation for this class was generated from the following files:

Generated on Thu Dec 17 11:00:22 2009 for PyTrilinos by  doxygen 1.5.9