#math #mathematics #statistics

mathru

Simple mathematics library written in Rust

4 releases

0.0.4 Dec 8, 2018
0.0.3 Nov 19, 2018
0.0.2 Nov 19, 2018
0.0.1 Nov 18, 2018

#92 in Math

Download history 27/week @ 2018-11-19 10/week @ 2018-11-26 29/week @ 2018-12-03 17/week @ 2018-12-10 4/week @ 2018-12-17 18/week @ 2018-12-24 5/week @ 2019-01-07 11/week @ 2019-01-14 12/week @ 2019-01-21 2/week @ 2019-01-28

36 downloads per month

MIT license Custom license

127KB
3.5K SLoC

Rumath

crate documentation minimum rustc 1.30.1


A simple mathematics library written in Rust

Features

- special functions
    - gamma functions
    - beta functions
- statistics
    - distributions
        - normal distribution
        - gamma distribution
        - binomial distribution
        - poisson distribution
        - exponential distribution
        - chi squared distribution
        - beta distribution
        - bernoulli distribution

- elementary functions
    - trigonometric function
        - sin()     - arcsin()
        - cos()     - arccos()
        - tan()     - arctan()
        - cot()     - arccot()
        - sec()     - arcsec()
        - csc()     - arccsc()

    - hyperbolic functions
        - sinh()    - arsinh()
        - cosh()    - arcosh()
        - tanh()    - artanh()
        - coth()    - arcoth()
        - sech()    - arsech()
        - csch()    - arcsch()

    - exponential
        - exp()     - ln()

    implemented for f32, f64, Complex<f32>, Complex<f64>

Usage


Add this to your Cargo.toml:

[dependencies]
mathru = "0.0.4"

and this to your crate root:

extern crate mathru;

Contributions


Any contribution is welcome!

Dependencies

~31KB