OpendTect
7.0
|
Classes | |
class | Expression |
Parsed Math expression. More... | |
class | ExpressionOperatorDesc |
Expression desc to build UI. More... | |
class | ExpressionOperatorDescGroup |
Group of similar expression descs. More... | |
class | ExpressionParser |
Parses a string with a mathematical expression. More... | |
class | Formula |
Math formula: (expression, inputs, units, calculation, storage). More... | |
class | SpecVar |
Special variables for Math Formulae/Expressions. More... | |
class | SpecVarSet |
Set of special variables for Math Formulae/Expressions. More... | |
Functions | |
double | Abs (double) |
float | Abs (float) |
float | Abs (float_complex) |
unsigned int | Abs (int i) |
long double | Abs (long double) |
std::uint64_t | Abs (std::int64_t i) |
std::uint64_t | Abs (std::uint64_t i) |
unsigned int | Abs (unsigned int i) |
double | ACos (double) |
float | ACos (float) |
long double | ACos (long double) |
bool | AreBitsSet (unsigned int curflags, unsigned int mask, bool all=true) |
double | ASin (double) |
float | ASin (float) |
long double | ASin (long double) |
double | Atan2 (double y, double x) |
float | Atan2 (float y, float x) |
float | Atan2 (float_complex timeval) |
double | BesselI0 (double) |
float | BesselI0 (float) |
long double | BesselI0 (long double) |
double | Ceil (double) |
float | Ceil (float) |
float | degFromNorth (float azimuth) |
double | Exp (double) |
float | Exp (float) |
double | Floor (double) |
float | Floor (float) |
const Formula * | getRelevant (const Mnemonic &, const ObjectSet< const Formula > &, const MnemonicSelection *inpmns=nullptr) |
bool | getRelevant (const Mnemonic &rettp, const ObjectSet< const Formula > &, ObjectSet< const Formula > &, const MnemonicSelection *inpmns=nullptr) |
int | HCFOf (int, int) |
double | IntPowerOf (double, int) |
float | IntPowerOf (float, int) |
template<class iT , class iPOW > | |
iT | IntPowerOf (iT i, iPOW p) |
long double | IntPowerOf (long double, int) |
bool | IsNormalNumber (double) |
bool | IsNormalNumber (float) |
bool | IsNormalNumber (long double) |
int | LCMOf (int, int) |
double | Log (double) |
float | Log (float) |
long double | Log (long double) |
double | Log10 (double) |
float | Log10 (float) |
long double | Log10 (long double) |
double | NiceNumber (double, bool round=true) |
float | NiceNumber (float, bool round=true) |
int | NrSignificantDecimals (double) |
double | PowerOf (double, double) |
float | PowerOf (float, float) |
long double | PowerOf (long double, long double) |
unsigned int | SetBits (unsigned int curflags, unsigned int mask, bool yn) |
float_complex | Sqrt (const float_complex &) |
double | Sqrt (double) |
float | Sqrt (float) |
long double | Sqrt (long double) |
double | toDB (double) |
float | toDB (float) |
long double | toDB (long double) |
double | toDegrees (double r) |
float | toDegrees (float r) |
double | toRadians (double d) |
float | toRadians (float d) |
double Math::Abs | ( | double | ) |
float Math::Abs | ( | float | ) |
float Math::Abs | ( | float_complex | ) |
unsigned int Math::Abs | ( | int | i | ) |
long double Math::Abs | ( | long double | ) |
std::uint64_t Math::Abs | ( | std::int64_t | i | ) |
|
inline |
|
inline |
double Math::ACos | ( | double | ) |
float Math::ACos | ( | float | ) |
Checks the input range before calling acos, and does thus avoid nan's due to roundoff errors.
long double Math::ACos | ( | long double | ) |
bool Math::AreBitsSet | ( | unsigned int | curflags, |
unsigned int | mask, | ||
bool | all = true |
||
) |
Returns wether the bits in the flag are set. If mask has multiple bits, the all boolean specifies if all bits are required.
double Math::ASin | ( | double | ) |
float Math::ASin | ( | float | ) |
Checks the input range before calling asin, and does thus avoid nan's due to roundoff errors.
long double Math::ASin | ( | long double | ) |
double Math::Atan2 | ( | double | y, |
double | x | ||
) |
float Math::Atan2 | ( | float | y, |
float | x | ||
) |
float Math::Atan2 | ( | float_complex | timeval | ) |
double Math::BesselI0 | ( | double | ) |
float Math::BesselI0 | ( | float | ) |
Zeroth order modified Bessel function of the first kind
long double Math::BesselI0 | ( | long double | ) |
double Math::Ceil | ( | double | ) |
float Math::Ceil | ( | float | ) |
|
inline |
double Math::Exp | ( | double | ) |
float Math::Exp | ( | float | ) |
Checks the input range before calling exp, if too large value is given, mUdf(float) is returned.
double Math::Floor | ( | double | ) |
float Math::Floor | ( | float | ) |
const Formula* Math::getRelevant | ( | const Mnemonic & | , |
const ObjectSet< const Formula > & | , | ||
const MnemonicSelection * | inpmns = nullptr |
||
) |
bool Math::getRelevant | ( | const Mnemonic & | rettp, |
const ObjectSet< const Formula > & | , | ||
ObjectSet< const Formula > & | , | ||
const MnemonicSelection * | inpmns = nullptr |
||
) |
int Math::HCFOf | ( | int | , |
int | |||
) |
<Lowest Common Multiple.
double Math::IntPowerOf | ( | double | , |
int | |||
) |
float Math::IntPowerOf | ( | float | , |
int | |||
) |
|
inline |
long double Math::IntPowerOf | ( | long double | , |
int | |||
) |
bool Math::IsNormalNumber | ( | double | ) |
<Highest Common Factor.
bool Math::IsNormalNumber | ( | float | ) |
bool Math::IsNormalNumber | ( | long double | ) |
int Math::LCMOf | ( | int | , |
int | |||
) |
double Math::Log | ( | double | ) |
float Math::Log | ( | float | ) |
Checks the input range before calling log, returns undefined if negative or zero value is given.
long double Math::Log | ( | long double | ) |
double Math::Log10 | ( | double | ) |
float Math::Log10 | ( | float | ) |
Checks the input range before calling log10, returns mUdf(float) if negative or zero value is given.
long double Math::Log10 | ( | long double | ) |
double Math::NiceNumber | ( | double | , |
bool | round = true |
||
) |
float Math::NiceNumber | ( | float | , |
bool | round = true |
||
) |
int Math::NrSignificantDecimals | ( | double | ) |
double Math::PowerOf | ( | double | , |
double | |||
) |
float Math::PowerOf | ( | float | , |
float | |||
) |
PowerOf(-2,2) returns -4. This may be mathematically incorrect, it delivers continuity with negative numbers
long double Math::PowerOf | ( | long double | , |
long double | |||
) |
unsigned int Math::SetBits | ( | unsigned int | curflags, |
unsigned int | mask, | ||
bool | yn | ||
) |
Takes curflags, sets/clears the bits in flag, and returns the composite value.
float_complex Math::Sqrt | ( | const float_complex & | ) |
double Math::Sqrt | ( | double | ) |
float Math::Sqrt | ( | float | ) |
Checks the input range before calling sqrt, if negative value is given, zero is returned.
long double Math::Sqrt | ( | long double | ) |
double Math::toDB | ( | double | ) |
float Math::toDB | ( | float | ) |
long double Math::toDB | ( | long double | ) |
|
inline |
|
inline |
|
inline |
|
inline |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024