Crate mathcore

Crate mathcore 

Source
Expand description

MathCore - symbolic math library for Rust

basically a CAS (computer algebra system) that can do symbolic math, solve equations, differentiate, integrate, etc.

use mathcore::MathCore;

let math = MathCore::new();

// basic stuff
let result = math.calculate("2 + 3 * 4").unwrap();
assert_eq!(result, 14.0);

// calculus
let derivative = MathCore::differentiate("x^2", "x").unwrap();

// solve equations
let roots = MathCore::solve("x^2 - 4", "x").unwrap();

Re-exports§

pub use types::Expr;
pub use types::MathError;

Modules§

calculus
differential
engine
matrix
ml
parser
precision
solver
transforms
Fast Fourier Transform and other integral transforms
types

Structs§

MathCore