Skip to content

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

License

Notifications You must be signed in to change notification settings

dfockler/matrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages