gmatlib - Grant's Matrix Algebra Library
Defines a Matrix<T> struct for numeric types and implements several useful functions for matrix algebra purposes.
The source here contains a number of extern "C" functions for exposing the types and functions to other languages
as well.
The Matrix<T> type is simple, consisting of one contiguous piece of memory to reduce indirection and reduce
the number of allocations needed to construct the matrix.
Example
use ;
// Create a matrix with 3 columns
let a: = from_vec.unwrap;
// Matrices support appropriate binary operations
let b = row_vec! * ;
// ...and concise indexing
assert_eq!;