Mathru
Mathru is a numeric library containing algorithms for linear algebra, analysis ,statistics and optimization written in pure Rust with optional BLAS/LAPACK as backend.
The following features are implemented in this create:
-
- Abstract
- Polynomial
- Legendre polynomial
- Chebyshev polynomial first & second kind
- Bernstein polynomial
- Bessel polynomial
- Polynomial
- Linear algebra
- Vector
- Matrix
- Basic matrix operations(+,-,*)
- Transposition (In-place)
- LU decomposition
- QR decomposition
- Hessenberg decomposition
- Cholesky decomposition
- Eigen decomposition
- Singular value decomposition
- Inverse
- Pseudo inverse
- Determinant
- Trace
- Solve linear system
- Abstract
-
Analysis
- Integration
- Newton-Cotes
- Gauss-Legendre
- Ordinary differential equation (ODE)
- Explicit methods
- Euler method
- Heun’s 2nd order method
- Midpoint method
- Ralston’s 2nd order method
- Kutta 3rd order
- Heun’s 3rd order method
- Ralston’s 3rd order method
- Runge-Kutta 4th order
- Runge-Kutta-Felhberg
- Dormand-Prince
- Cash-Karp
- Bogacki-Shampine
- Adams-Bashforth
- Automatic step size control with starting step size
- Implicit methods
- Implicit Euler
- Backward differentiation formula (BDF)
- Explicit methods
- Interpolation
- Cubic spline
- Integration
-
- Gauss-Newton algorithm
- Gradient descent
- Newton method
- Levenberg-Marquardt algorithm
- Conjugate gradient method
-
Elementary functions
- trigonometric functions
- hyperbolic functions
- exponential functions
- power functions
- trigonometric functions
-
- gamma functions
- gamma function
- log-gamma function
- digamma function
- upper incomplete gamma function
- upper incomplete regularized gamma function
- inverse upper incomplete regularized gamma function
- lower incomplete gamma function
- lower regularized incomplete gamma function
- inverse lower regularized incomplete gamma function
- beta functions
- beta function
- incomplete beta function
- incomplete regularized beta function
- error functions
- error function
- complementary error function
- inverse error function
- inverse complementary error function
- hypergeometric functions
- gamma functions
The official API reference manual details functions, modules, and objects etc included in mathru, describing what they are and what they do. For learning how to use mathru, see also