[−][src]Crate peroxide
peroxide
is comprehensive numerical library for Rust.
Components
peroxide
has various components for scientific computation.
- Linear Algebra
- Matrix operations
+,-,*,/
- LU, Determinant, Inverse
- Vector operations
- Matrix operations
- Statistics
- Statistical operations
mean, var, sd
factorial, P, C, H
- Distributions
- Bernoulli
- Uniform
- Normal
- Gamma
- Beta
- Statistical operations
- Special functions (Using
special
crate)- Gaussian
- Gamma
- Beta
- Error
- Automatic Differentiation
- Dual number system
- Hyper dual number system
- Numerical Utils
- Interpolation
- Spline
- Polynomial
- Differential Equations
- Explicit
- Runge-Kutta 4th order
- Euler methods
- Implicit
- Backward Euler
- Gauss-Legendre 4th order
- Explicit
- Communication with Python
- Support
pickle
type - Plot with
matplotlib
- Support
Quick Start
Cargo.toml
-
To use
peroxide
, you should editCargo.toml
-
Current document version is corresponding to
0.11.5
peroxide = "0.11"
Import all at once
-
You can import all functions & structures at once
extern crate peroxide; use peroxide::*; fn main() { //Some codes... }
Re-exports
pub use structure::matrix::*; |
pub use structure::vector::*; |
pub use statistics::stat::*; |
pub use macros::r_macro::*; |
pub use macros::matlab_macro::*; |
pub use statistics::rand::*; |
pub use util::print::*; |
pub use util::non_macro::*; |
pub use structure::polynomial::*; |
pub use numerical::interp::*; |
pub use numerical::spline::*; |
pub use ml::reg::*; |
pub use structure::dual::*; |
pub use operation::extra_ops::*; |
pub use util::useful::*; |
pub use structure::multinomial::*; |
pub use numerical::utils::*; |
pub use numerical::newton::*; |
pub use numerical::bdf::*; |
pub use util::api::*; |
pub use numerical::gauss_legendre::*; |
pub use statistics::dist::*; |
pub use special::function::*; |
pub use statistics::ops::*; |
pub use util::pickle::*; |
pub use structure::hyper_dual::*; |
pub use util::writer::*; |
pub use operation::mut_ops::*; |
pub use numerical::ode::*; |
pub use operation::number::*; |
pub use util::plot::*; |
Modules
macros | Useful macros |
ml | Machine learning tools |
numerical | Differential equations & Numerical Analysis tools |
operation | Useful missing operations & comprehensive traits |
special | Special function module |
statistics | Statistical Modules |
structure | Main structures for peroxide |
util | Utility - plot, print, pickle and etc. |
Macros
c | R like concatenate (Type: Vec<f64>) |
cbind | R like cbind |
eye | MATLAB like eye - identity matrix |
linspace | MATLAB like linspace |
lm | R like lm |
matrix | More R like Matrix constructor (Macro) |
rand | MATLAB like rand - random matrix |
rbind | R like rbind |
runif | R like random uniform |
seq | R like seq macro |
zeros | MATLAB like zeros - zero matrix |