Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

matrix

A small matrix math library in Rust, with support for generic Num types

Usage

use matrix::*;

//Initializes a new Matrix with Num::zero() in all elements
let mut matrix = Matrix::new(2, 2);

//Push an element into the matrix at the specified index
matrix.push(13.3f32, 1, 1);
matrix.push(43.f32, 2, 2);

Todo

  • Error Handling for Index Out-of-Bounds
  • Error Handling for Matrix Size Incompatibility
  • Better method for pushing values into a Matrix
  • Method for generating a Matrix using a Vec

About

A small matrix math library in Rust, with support for generic Num type numbers

Resources

License

Releases

No releases published

Packages

No packages published

Languages