matreex
A simple matrix implementation.
Quick Start
First, we need to import matrix!.
use matreex::matrix;
Addition
let lhs = matrix!;
let rhs = matrix!;
assert_eq!;
Subtraction
let lhs = matrix!;
let rhs = matrix!;
assert_eq!;
Multiplication
let lhs = matrix!;
let rhs = matrix!;
assert_eq!;
Division
let lhs = matrix!;
let rhs = matrix!;
assert_eq!;
Wait, matrix division isn't well-defined, remember? It won't compile. But don't worry, you might just need to perform elementwise division:
let lhs = matrix!;
let rhs = matrix!;
assert_eq!;
Or scalar division:
let matrix = matrix!;
assert_eq!;
let matrix = matrix!;
assert_eq!;
Or maybe the inverse of a matrix?
Nah, we don't have that yet.
FAQs
Why named matreex?
Hmm ... Who knows? Could be a name conflict.
Is it no_std compatible?
This crate is no_std compatible if the parallel feature is not enabled.