mats

Crates.iomats
lib.rsmats
version18446744073709551615.18446744073709551615.18446744073709551615
created_at2025-01-24 07:12:15.769916+00
updated_at2025-09-06 07:07:42.733537+00
descriptionA lightweight, efficient, and easy-to-use Rust matrix library.
homepage
repositoryhttps://github.com/Anglebase/Mats.git
max_upload_size
id1529109
size2,532,463
(Anglebase)

documentation

README

Mats

WARN: Better crate: nalgebra. This crate has stopped maintenance.

An interesting discovery: The maximum version number for Rust is 1844674407309551615(2^64-1).

Features

  • 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.

Example

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);
}

License

Licensed under either of MIT license or Apache License, Version 2.0 at your option.

Commit count: 0

cargo fmt