| Crates.io | nml-matrix |
| lib.rs | nml-matrix |
| version | 0.4.1 |
| created_at | 2023-11-05 13:44:50.243031+00 |
| updated_at | 2024-01-16 13:22:01.371704+00 |
| description | A small library to work with matrices. |
| homepage | |
| repository | https://github.com/p0l19/nml-matrix |
| max_upload_size | |
| id | 1025959 |
| size | 41,050 |
This library is a personal project of mine to learn more about linear algebra and get more into rust-programming. You can also find the Library on Crates.io and add it to your projects with the cargo package manager.
Add this to your Cargo.toml:
[dependencies]
nml-matrix = "0.4.1"
use nml_matrix::NmlMatrix;
fn main() {
let a = NmlMatrix::new_with_data(3, 2, vec![1, 2, 3, 4, 5, 6]);
let b = NmlMatrix::new_with_data(3, 2, vec![1, 2, 3, 4, 5, 6]);
let c = a * b;
println!("{:?}", c);
}
[dependencies]
num-traits = "0.2.17"
rand = "0.8.5"
You can find the documentation here
This project is licensed under the BSD 3-Clause License - see the LICENSE-File file for details