Crate numb_rs[][src]

Macros

mat

With a focus on being concise: This macro will create a matrix using syntax similar to matlab A semicolon ';' represends a new matrix row

symmat

Creates a symmetrical matrix Note that the symmetrical matrix is of type MatrixS, The aim of this macro and associated struct is for saving space

Structs

Matrix

a matrix is a vec with dimensional properties (m x n) m the vertical length (rows) n represents the horizontal length (columns) it is stored as a row-major vector in line with C standards The matrix uses zero referencing. This method is preferable over nested vectors as during operations such as matrix transposition the vector does not change length.

MatrixIterator

Experimental feature: Currently always returns an enumeration :{T, [i, j]} Likely to change

MatrixS

A struct to represent a symmetrical matrix of nxn The struct does not have an 'm' value

MatrixSIterator

An iterator for the symmetric matrrx struct MatrixS

MatrixT

A view

MatrixTIterator

Iterator struct for the transposed matrix view

Enums

MatrixError

an error type specific to matrices

Traits

ApproxEq

A trait for comparing floats and similar structs

Zero

Reimplementation of the deprecated std::num::Zero trait This allows us to set any type T equal to zero for unsigned types this should be equivalent to the min_value() method