Crate matrix_mc

Source
Expand description

§Matrix-MC

‘matrix_mc’ is a library which provides useful functions for operating on and analyzing matrices of f64s

Macros§

matrix
Provides a concise syntax for creating Matrices of f64s, Creates a new Matrix, and adds every number seperated by a comma as a f64, and adds a new row for each semicolon. if rows are of unequal size, 0s are added to make up for the difference

Functions§

dup
Applies the provided funtion f to the matrix a, returning a new matrix with the result of the computation, leaving the original matrix unchanged
identity
Returns a square Identity Matrix with length and width provided by the parameter dim.
normalize
Calculates the Euclidian (square root) norm of the provided matrix a
rref
Row reduces the target matrix a.

Type Aliases§

Matrix
2D Vector of f64s