1 unstable release

0.0.1 Nov 18, 2018

#40 in #statistics

Download history 34/week @ 2018-11-22 32/week @ 2018-11-29 3/week @ 2018-12-06 18/week @ 2018-12-13

2 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

~570KB