| Crates.io | minmath |
| lib.rs | minmath |
| version | 2.1.0 |
| created_at | 2025-06-16 11:49:26.459915+00 |
| updated_at | 2025-09-14 12:41:14.915547+00 |
| description | A lightweight math library |
| homepage | |
| repository | https://github.com/Jodus-Melodus/minmath |
| max_upload_size | |
| id | 1714194 |
| size | 41,456 |
fn main() {
let mat1 = Matrix::new([[1.0, 2.0], [3.0, 4.0]]);
let mat2 = Matrix::new([[5.0, 6.0], [7.0, 8.0]]);
let mat3 = mat1 + mat2;
println!("{}", mat3);
}
fn main() {
let vec2 = Vector2::new(4.0, 3.5);
let vec3 = Vector3::new(5.5, 9.0, -8.0);
}
Contributions, issues, and feature requests are welcome! Feel free to check issues page.
minmath to dependenciesminmath currently has zero dependencies and I plan to keep it that way.
There are two ways to add the crate to your dependencies.
Add the following to your Cargo.toml file.
[dependencies]
minmath = "*"
# Check https://crates.io/crates/minmath for the latest version
Run the following in your terminal.
cargo add minmath
This project is licensed under the MIT License. See LICENSE for details.