Mathru
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Mathru

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.

Features

The following features are implemented in this create:

  • Algebra

  • 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)
    • Interpolation
      • Cubic spline
  • Optimization

    • Gauss-Newton algorithm
    • Gradient descent
    • Newton method
    • Levenberg-Marquardt algorithm
    • Conjugate gradient method
  • Statistics

    • Probability distribution
      • Bernoulli
      • Beta
      • Binomial
      • Exponential
      • Gamma
      • Chi-squared
      • Normal
      • Log-Normal
      • Poisson
      • Raised cosine
      • Student-t
      • Uniform
    • Test
  • Elementary functions

    • trigonometric functions
    • hyperbolic functions
    • exponential functions
    • power functions
    • trigonometric functions
  • Special 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

Reference Manual

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

Reference manual