Swift-MathEagle
Swift-MathEagle copied to clipboard
A general math framework to make using math easy. Currently supports function solving and optimisation, matrix and vector algebra, complex numbers, big int, big frac, big rational, graphs and general...
The GNU Scientific Library contains many nice features, including polynomials, permutations, combinations, FFT, ...
Change the `BigFloat` class to use [GNU MPFR](http://www.mpfr.org) instead of GMP. This allows the use of more important functions like logarithms.
- [ ] Permutations / combinations iterators - [x] gamma function - [ ] integer / fixed set partitions - [x] calculating the parity of a permutation
Current [benchmarks](https://github.com/rugheid/Swift-MathEagle/tree/master/MathEagleTests/Benchmarking%20Files) are not entirely representative of the performance, as simple vectorized computations are easily compiled to near-perfect machine code. Some benchmark suggestions: - Linear algebra routines (SVD, matrix inverse,...
The only optimization procedure currently implemented is the golden section method. Optimization of functions with more than one variable (most notable Rosenbrock's function) is impossible without other methods. Some initial...
As the readme states: `The biggest advantage about MathEagle is that it's totally generic.` :wink: Making Complex generic over any real number would be great (especially when you get around...