valuecalc.h
The ValueCalc class is used to perform all sorts of calculations.
Definition valuecalc.h:69
bool strLower(const Value &a, const Value &b, bool CS=true)
string comparison
Definition valuecalc.cpp:469
bool gequal(const Value &a, const Value &b)
numerical comparison - greater or equal
Definition valuecalc.cpp:509
bool strGreater(const Value &a, const Value &b, bool CS=true)
string comparison
Definition valuecalc.cpp:447
bool naturalGequal(const Value &a, const Value &b, bool CS=true)
string or numerical comparison - greater or equal
Definition valuecalc.cpp:492
std::map< TQString, arrayWalkFunc > awFuncs
registered array-walk functions
Definition valuecalc.h:281
bool approxEqual(const Value &a, const Value &b)
numerical comparison with a little epsilon tolerance
Definition valuecalc.cpp:426
Value phi(Value x)
some statistical stuff TODO: we may want to move these over to a separate class or something,...
Definition valuecalc.cpp:971
Value factDouble(int which)
double factorial (every other number multiplied)
Definition valuecalc.cpp:711
bool matches(const Condition &cond, Value d)
Returns true if value d matches the condition cond, built with getCond().
Definition valuecalc.cpp:1990
Value besseli(Value v, Value x)
bessel functions - may also end up being separated from here
Definition valuecalc.cpp:1553
void arrayWalk(const Value &range, Value &res, arrayWalkFunc func, Value param)
array/range walking
Definition valuecalc.cpp:1595
Value::Format format(Value::Format a, Value::Format b)
return result formatting, based on these two values
Definition valuecalc.cpp:1913
Value log(const Value &number, const Value &base)
logarithms and exponentials
Definition valuecalc.cpp:609
void getCond(Condition &cond, Value val)
This method parses the condition in string text to the condition cond.
Definition valuecalc.cpp:1924
bool naturalLower(const Value &a, const Value &b, bool CS=true)
string or numerical comparison
Definition valuecalc.cpp:497
bool strEqual(const Value &a, const Value &b, bool CS=true)
string comparison
Definition valuecalc.cpp:436
bool naturalEqual(const Value &a, const Value &b, bool CS=true)
string or numerical comparison
Definition valuecalc.cpp:474
bool naturalGreater(const Value &a, const Value &b, bool CS=true)
string or numerical comparison
Definition valuecalc.cpp:483
bool strGequal(const Value &a, const Value &b, bool CS=true)
string comparison - greater or equal
Definition valuecalc.cpp:458
Value base(const Value &val, int base=16, int prec=0)
base conversion 10 -> base
Definition valuecalc.cpp:779
The ValueConverter class can convert Value between various different formats.
Definition valueconverter.h:36
