| Crates.io | matrix-oxide |
| lib.rs | matrix-oxide |
| version | 0.1.3 |
| created_at | 2025-01-01 05:25:23.058619+00 |
| updated_at | 2025-06-01 04:37:56.489446+00 |
| description | Simple, and Lightweight Linear Algebra Library For Rust. |
| homepage | https://crates.io/crates/matrix-oxide |
| repository | https://github.com/antonio-hickey/matrix-oxide |
| max_upload_size | |
| id | 1500603 |
| size | 46,506 |
A simple, lightweight, and from scratch linear algebra library for Rust. Currently still under active development with goals at becoming more of a deep learning library.
Use cargo CLI:
cargo install matrix-oxide
Or manually add it into your Cargo.toml:
[dependencies]
matrix-oxide = "0.1.2"
For more thorough information, read the docs.
Example: Multiply 2 random 2x2 matrices.
use matrix_oxide::Matrix;
fn main() {
let matrix_a = Matrix::<i32>::new_random(2, 2);
let matrix_b = Matrix::<i32>::new_random(2, 2);
let matrix_ab = matrix_a.multiply(&matrix_b);
}