util/math_functions library

Functions

choose(int n, int r, {bool useCache = true}) int
chooseCached(int n, int r) int
clip<T extends num>(T val, T lower, T upper) → T
ln(num x) double
log(num x, {num base = e}) double
log10(num x) double
log2(num x) double
mapValue(num value, num start1, num stop1, num start2, num stop2) double
sigmoid(double x) double