PyTrilinos::Teuchos::ScalarTraitsByte Class Reference

Inheritance diagram for PyTrilinos::Teuchos::ScalarTraitsByte:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

def magnitude
def zero
def one
def conjugate
def real
def imag
def isnaninf
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 isnaninf
def seedrandom
def random
def name
def squareroot
def pow
def __init__

Public Attributes

 this

Static Public Attributes

 isComplex = _Teuchos.ScalarTraitsByte_isComplex
 isComparable = _Teuchos.ScalarTraitsByte_isComparable
 hasMachineParameters = _Teuchos.ScalarTraitsByte_hasMachineParameters


Detailed Description


Member Function Documentation

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

__init__(self) -> ScalarTraitsByte

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::ScalarTraitsByte::__init__ (   self,
  args 
)

__init__(self) -> ScalarTraitsByte

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::ScalarTraitsByte::conjugate (   args  ) 

conjugate(char x) -> char

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

conjugate(char x) -> char

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

imag(char arg0) -> char

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

imag(char arg0) -> char

def PyTrilinos::Teuchos::ScalarTraitsByte::isnaninf (   args  ) 

isnaninf(char arg0) -> bool

def PyTrilinos::Teuchos::ScalarTraitsByte::isnaninf (   args  ) 

isnaninf(char arg0) -> bool

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

magnitude(char a) -> magnitudeType

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

magnitude(char a) -> magnitudeType

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

name() -> string

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

name() -> string

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

one() -> char

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

one() -> char

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

pow(char x, char y) -> char

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

pow(char x, char y) -> char

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

random() -> char

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

random() -> char

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

real(char x) -> char

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

real(char x) -> char

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

seedrandom(unsigned int s)

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

seedrandom(unsigned int s)

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

squareroot(char x) -> char

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

squareroot(char x) -> char

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

zero() -> char

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

zero() -> char


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