Crates.io | rust_scicrate |
lib.rs | rust_scicrate |
version | 0.1.0 |
source | src |
created_at | 2024-08-12 16:51:35.112411 |
updated_at | 2024-08-12 16:51:35.112411 |
description | A scientific computing library for Rust |
homepage | |
repository | https://github.com/anishpras/rust_scicrate |
max_upload_size | |
id | 1334792 |
size | 17,556 |
Rust SciCrate is a scientific computing library for Rust, inspired by SciPy.
Add this to your Cargo.toml
:
[dependencies]
rust_scicrate = "0.1.0"
Here's a quick example of how to use Rust SciCrate:
use rust_scicrate::linalg::matrix_multiply;
use ndarray::array;
fn main() {
let a = array![[1., 2.], [3., 4.]];
let b = array![[5., 6.], [7., 8.]];
let c = matrix_multiply(&a, &b).unwrap();
println!("Result of matrix multiplication:\n{}", c);
}
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT.