let res = quick_eval!("D(x^2, x, 3)")?.to_vec(); assert_eq!(res[0].round(6), value!(6));
let res = quick_eval!("I(x^2, x, 0, 5)")?.to_vec(); assert_eq!(res[0].round(4), value!(41.6667));
let res = quick_eval!("I(sin(x), x, -inf, inf)")?.to_vec(); assert_eq!(res[0].round(8), value!(0));
let mut c = Context::default(); quick_eval!("e(x) = S(x^n/fact(n), n, 0, 100)", &mut c)?; let res = quick_eval!("e(5) == exp(5)", &mut c)?.to_vec(); assert_eq!(res[0], value!(1));
There was an error while loading. Please reload this page.
Library features
Operations
Scalars, Vectors, Matrices and Lists
Variables and custom functions
LaTeX
Crate features
Boolean Examples
Linear Algebra Examples
List Examples
Equation Examples
Calculus Examples
Complex Numbers Examples