bettercmath.matrix

Type and dimension generic Matrix type.

Members

Enums

isMatrix
eponymoustemplate isMatrix(T)

True if T is some kind of Matrix

Functions

transpose
Matrix!(T, C, C) transpose(Matrix!(T, C, C) mat)

Transpose a square matrix inplace.

transposed
Matrix!(T, R, C) transposed(Matrix!(T, C, R) mat)

Returns a transposed copy of mat.

Structs

Matrix
struct Matrix(T, uint numColumns, uint numRows = numColumns)

Column-major 2D matrix type.

Meta