matrix-oxide 0.1.3

Simple, and Lightweight Linear Algebra Library For Rust.
Documentation
  • Coverage
  • 73.47%
    36 out of 49 items documented1 out of 41 items with examples
  • Size
  • Source code size: 46.5 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.24 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • antonio-hickey/matrix-oxide
    2 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • antonio-hickey

Matrix Oxide

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.

Installation

Use cargo CLI:

cargo install matrix-oxide

Or manually add it into your Cargo.toml:

[dependencies]
matrix-oxide = "0.1.2"

Usage

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