| Crates.io | mats |
| lib.rs | mats |
| version | 18446744073709551615.18446744073709551615.18446744073709551615 |
| created_at | 2025-01-24 07:12:15.769916+00 |
| updated_at | 2025-09-06 07:07:42.733537+00 |
| description | A lightweight, efficient, and easy-to-use Rust matrix library. |
| homepage | |
| repository | https://github.com/Anglebase/Mats.git |
| max_upload_size | |
| id | 1529109 |
| size | 2,532,463 |
WARN: Better crate: nalgebra. This crate has stopped maintenance.
An interesting discovery: The maximum version number for Rust is 1844674407309551615(2^64-1).
uniforms: If this feature is enabled, Mats will implement trait AsUniformValue for specific types of matrices, allowing them to interact with OpenGL.graphics: If this feature is enabled, Mats will provide tools for computer graphics, such as coordinate transformation matrices.use mats::Mat2;
fn main() {
let a = Mat2::I();
let b = Mat2::new([[1.0, 2.0], [3.0, 4.0]]);
let c = a + b;
println!("c = {:?}", c);
}
Licensed under either of MIT license or Apache License, Version 2.0 at your option.