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.ScalarTraitsDouble_isComplex | |
isComparable = _Teuchos.ScalarTraitsDouble_isComparable | |
hasMachineParameters = _Teuchos.ScalarTraitsDouble_hasMachineParameters |
def PyTrilinos::Teuchos::ScalarTraitsDouble::__init__ | ( | self, | ||
args | ||||
) |
__init__(self) -> ScalarTraitsDouble 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::ScalarTraitsDouble::__init__ | ( | self, | ||
args | ||||
) |
__init__(self) -> ScalarTraitsDouble 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::ScalarTraitsDouble::base | ( | args | ) |
base() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::base | ( | args | ) |
base() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::conjugate | ( | args | ) |
conjugate(double x) -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::conjugate | ( | args | ) |
conjugate(double x) -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::emax | ( | args | ) |
emax() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::emax | ( | args | ) |
emax() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::emin | ( | args | ) |
emin() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::emin | ( | args | ) |
emin() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::eps | ( | args | ) |
eps() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::eps | ( | args | ) |
eps() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::imag | ( | args | ) |
imag(double arg0) -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::imag | ( | args | ) |
imag(double arg0) -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::isnaninf | ( | args | ) |
isnaninf(double x) -> bool
def PyTrilinos::Teuchos::ScalarTraitsDouble::isnaninf | ( | args | ) |
isnaninf(double x) -> bool
def PyTrilinos::Teuchos::ScalarTraitsDouble::magnitude | ( | args | ) |
magnitude(double a) -> magnitudeType
def PyTrilinos::Teuchos::ScalarTraitsDouble::magnitude | ( | args | ) |
magnitude(double a) -> magnitudeType
def PyTrilinos::Teuchos::ScalarTraitsDouble::name | ( | args | ) |
name() -> string
def PyTrilinos::Teuchos::ScalarTraitsDouble::name | ( | args | ) |
name() -> string
def PyTrilinos::Teuchos::ScalarTraitsDouble::nan | ( | args | ) |
nan() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::nan | ( | args | ) |
nan() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::one | ( | args | ) |
one() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::one | ( | args | ) |
one() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::pow | ( | args | ) |
pow(double x, double y) -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::pow | ( | args | ) |
pow(double x, double y) -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::prec | ( | args | ) |
prec() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::prec | ( | args | ) |
prec() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::random | ( | args | ) |
random() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::random | ( | args | ) |
random() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::real | ( | args | ) |
real(double x) -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::real | ( | args | ) |
real(double x) -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::rmax | ( | args | ) |
rmax() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::rmax | ( | args | ) |
rmax() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::rmin | ( | args | ) |
rmin() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::rmin | ( | args | ) |
rmin() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::rnd | ( | args | ) |
rnd() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::rnd | ( | args | ) |
rnd() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::seedrandom | ( | args | ) |
seedrandom(unsigned int s)
def PyTrilinos::Teuchos::ScalarTraitsDouble::seedrandom | ( | args | ) |
seedrandom(unsigned int s)
def PyTrilinos::Teuchos::ScalarTraitsDouble::sfmin | ( | args | ) |
sfmin() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::sfmin | ( | args | ) |
sfmin() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::squareroot | ( | args | ) |
squareroot(double x) -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::squareroot | ( | args | ) |
squareroot(double x) -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::t | ( | args | ) |
t() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::t | ( | args | ) |
t() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::zero | ( | args | ) |
zero() -> double
def PyTrilinos::Teuchos::ScalarTraitsDouble::zero | ( | args | ) |
zero() -> double