Mtrx
Matrix operations using Rust's new const generics feature. Matrix sizes are determined at compile time, allowing better type checking.
Supported Operations
- Addition
- Subtraction
- Scalar Multiplication
- Matrix Multiplication
- Matrix Vector Product
- Transposition
- Matrix Powers
Note: currently, mtrx requires Nightly to work, as it makes use of the
#![feature(const_fn)]
let matrix_a = new;
let matrix_b = new;
let result: = matrix_a.multiply;
assert_eq!;