symplex 0.28.0

Exact symbolic mathematics for Rust: calculus, summation, solving, linear algebra, transforms, compile-time dimensional analysis, and Rust/C code generation
Documentation
1
2
3
4
5
6
7
8
9
10
11
use symplex::prelude::*;
use symplex::units::*;

fn takes_ex(_e: &Ex) {}

fn main() {
    let ctx = Context::new();
    let f = Force::symbol(&ctx, "f");
    // AsRef<Ex> should NOT auto-coerce &Force to &Ex
    takes_ex(&f);
}