Public Member Functions | |
def | eps |
def | sfmin |
def | base |
def | prec |
def | t |
def | rnd |
def | emin |
def | rmin |
def | emax |
def | rmax |
def | magnitude |
def | zero |
def | one |
def | conjugate |
def | real |
def | imag |
def | nan |
def | isnaninf |
def | seedrandom |
def | random |
def | name |
def | squareroot |
def | pow |
def | __init__ |
def | eps |
def | sfmin |
def | base |
def | prec |
def | t |
def | rnd |
def | emin |
def | rmin |
def | emax |
def | rmax |
def | magnitude |
def | zero |
def | one |
def | conjugate |
def | real |
def | imag |
def | nan |
def | isnaninf |
def | seedrandom |
def | random |
def | name |
def | squareroot |
def | pow |
def | __init__ |
Public Attributes | |
this | |
Static Public Attributes | |
isComplex = _Teuchos.ScalarTraitsFloat_isComplex | |
isComparable = _Teuchos.ScalarTraitsFloat_isComparable | |
hasMachineParameters = _Teuchos.ScalarTraitsFloat_hasMachineParameters |
def PyTrilinos::Teuchos::ScalarTraitsFloat::__init__ | ( | self, | ||
args | ||||
) |
__init__(self) -> ScalarTraitsFloat 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::ScalarTraitsFloat::__init__ | ( | self, | ||
args | ||||
) |
__init__(self) -> ScalarTraitsFloat 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::ScalarTraitsFloat::base | ( | args | ) |
base() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::base | ( | args | ) |
base() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::conjugate | ( | args | ) |
conjugate(float x) -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::conjugate | ( | args | ) |
conjugate(float x) -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::emax | ( | args | ) |
emax() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::emax | ( | args | ) |
emax() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::emin | ( | args | ) |
emin() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::emin | ( | args | ) |
emin() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::eps | ( | args | ) |
eps() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::eps | ( | args | ) |
eps() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::imag | ( | args | ) |
imag(float arg0) -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::imag | ( | args | ) |
imag(float arg0) -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::isnaninf | ( | args | ) |
isnaninf(float x) -> bool
def PyTrilinos::Teuchos::ScalarTraitsFloat::isnaninf | ( | args | ) |
isnaninf(float x) -> bool
def PyTrilinos::Teuchos::ScalarTraitsFloat::magnitude | ( | args | ) |
magnitude(float a) -> magnitudeType
def PyTrilinos::Teuchos::ScalarTraitsFloat::magnitude | ( | args | ) |
magnitude(float a) -> magnitudeType
def PyTrilinos::Teuchos::ScalarTraitsFloat::name | ( | args | ) |
name() -> string
def PyTrilinos::Teuchos::ScalarTraitsFloat::name | ( | args | ) |
name() -> string
def PyTrilinos::Teuchos::ScalarTraitsFloat::nan | ( | args | ) |
nan() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::nan | ( | args | ) |
nan() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::one | ( | args | ) |
one() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::one | ( | args | ) |
one() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::pow | ( | args | ) |
pow(float x, float y) -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::pow | ( | args | ) |
pow(float x, float y) -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::prec | ( | args | ) |
prec() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::prec | ( | args | ) |
prec() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::random | ( | args | ) |
random() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::random | ( | args | ) |
random() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::real | ( | args | ) |
real(float x) -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::real | ( | args | ) |
real(float x) -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::rmax | ( | args | ) |
rmax() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::rmax | ( | args | ) |
rmax() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::rmin | ( | args | ) |
rmin() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::rmin | ( | args | ) |
rmin() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::rnd | ( | args | ) |
rnd() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::rnd | ( | args | ) |
rnd() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::seedrandom | ( | args | ) |
seedrandom(unsigned int s)
def PyTrilinos::Teuchos::ScalarTraitsFloat::seedrandom | ( | args | ) |
seedrandom(unsigned int s)
def PyTrilinos::Teuchos::ScalarTraitsFloat::sfmin | ( | args | ) |
sfmin() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::sfmin | ( | args | ) |
sfmin() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::squareroot | ( | args | ) |
squareroot(float x) -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::squareroot | ( | args | ) |
squareroot(float x) -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::t | ( | args | ) |
t() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::t | ( | args | ) |
t() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::zero | ( | args | ) |
zero() -> float
def PyTrilinos::Teuchos::ScalarTraitsFloat::zero | ( | args | ) |
zero() -> float