math_rust 0.1.7

A Math library for vectors.
Documentation
#  math_rust  - A Math library for vectors. 


[<img alt="github" src="https://img.shields.io/badge/github-momonepal/-8da0cb?style=for-the-badge&labelColor=555555&logo=github" height="20">](https://github.com/momonepal)
[<img alt="crates.io" src="https://img.shields.io/crates/v/math_rust?style=for-the-badge&color=fc8d62&logo=rust" height="20">](https://crates.io/crates/math_rust)
[<img alt="docs.rs" src="https://img.shields.io/badge/docs.rs-math_rust-66c2a5?style=for-the-badge&labelColor=555555&logo=docs.rs" height="20">](https://docs.rs/math_rust/0.1.0/math_rust/)

Published on https://crates.io/crates/math_rust


 ## Install


Run the following Cargo command in your project directory:

    cargo add math_rust


Or add the following line to your Cargo.toml:

    math_rust = "0.1.7"


## Documentation

https://docs.rs/math_rust/latest/math_rust/

------------------------------

 

 ### Modules:

 **list**


### Functions:

**average**

    math_rust::list::average

    pub fn average(x: &Vec<i32>) -> f64


**find_highest**

    math_rust::list::find_highest

    pub fn find_highest(x: &Vec<i32>) -> Option<&i32>


**find_lowest**

    math_rust::list::find_lowest

    pub fn find_lowest(x: &Vec<i32>) -> Option<&i32>


**is_sorted**

    math_rust::list::is_sorted

    pub fn is_sorted(x: &Vec<i32>) -> bool


**median**

    math_rust::list::median

    pub fn median(x: &Vec<i32>) -> f64


**mode**

    math_rust::list::mode

    pub fn mode(x: &Vec<i32>) -> Option<i32>


**reverse_vector**

    math_rust::list::reverse_vector

    pub fn reverse_vector(x: &Vec<i32>) -> Vec<i32>

    

**sort_vector**

    math_rust::list::sort_vector

    pub fn sort_vector(x: &Vec<i32>) -> Vec<i32>


**standard_deviation**

    math_rust::list::standard_deviation

    pub fn standard_deviation(x: &Vec<i32>) -> f64


**random_vector**

    math_rust::list::random_vector

    pub fn random_vector(len : i32) -> Vec<i32>


**fib_num**

    math_rust::list::fib_num

    pub fn fib_num(len: i32) -> Vec<i32>