This class performs several types of numerical and statistical functions.
Currently, it generates gaussian normal distributions, does numerical integration of arbitrary functions, generates random numbers with gaussian distributions, provides a number of standard statistical functions, e.g., mean, standard deviation, variance, etc., has two different methods of solving for the roots of an equation (bisection and steepest descent), converts floating point to rational number representation (useful for infinite precision calculations), generates a Sieve of Erastophenes for a specified integer, factors integers into their prime factors, finds the minimum or maximum value of a function within a specified interval, solves simultaneous equations, inverts matrices using gaussian elimination, calculates variance and covariance and has interfaces for vector addition, division and multiplication.
The minimum/maximum functions now support all datatypes who support a > or < operator. |
|