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

  • 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

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

Type Definitions