math_utils library

Functions

binomial(dynamic n, dynamic k) int
distance(num x1, num y1, num x2, num y2) double
fibonacci(dynamic n) List<int>
relativeMiddleDistance(num v, num pmin, num pmax) num
currently unused
smallGauss(int n) int
calculate the sum of all integers until n
weightedAverage(List<num> vals) double
weighted average of values