#datatype #matrix #traits #function #prelude

polymath

Make math in Rust more powerful! (New math datatypes, traits, functions, etc...)

1 unstable release

0.3.1 Nov 15, 2023
0.3.0 Nov 15, 2023
0.2.1 Nov 15, 2023
0.1.1 Nov 14, 2023
0.0.0 Nov 13, 2023

#517 in Math

MIT license

16KB
311 lines

Polymath

A library with stuff for making math in Rust way nicer, and way more flexible!

Examples:

// Matrix

use polymath::prelude::*;

fn main() {
  let a: Matrix<f64> = Matrix::new((2, 4), 0.0);
  let b: Matrix<f64> = a + 5.0; // Supports addition. (Of many kinds.)
}

No runtime deps