Mat

Undocumented in source.

Constructors

this
this(T[rowCount * colCount] elements)
Undocumented in source.
this
this(T[] elements)
Undocumented in source.
this
this(Mat!(T, rowCount, colCount) other)
Undocumented in source.
this
this(T value)
Undocumented in source.

Members

Aliases

N
alias N = rowCount
Undocumented in source.

Functions

add
void add(Mat!(T, rowCount, colCount) other)
Undocumented in source. Be warned that the author may not have intended to support it.
adjugate
Mat!(T, N, N) adjugate()
Undocumented in source. Be warned that the author may not have intended to support it.
cofactor
Mat!(T, N, N) cofactor()
Undocumented in source. Be warned that the author may not have intended to support it.
det
T det()
Undocumented in source. Be warned that the author may not have intended to support it.
div
void div(T factor)
Undocumented in source. Be warned that the author may not have intended to support it.
getCol
Vec!(T, rowCount) getCol(size_t col)
Undocumented in source. Be warned that the author may not have intended to support it.
getRow
Vec!(T, colCount) getRow(size_t row)
Undocumented in source. Be warned that the author may not have intended to support it.
inv
Mat!(T, N, N) inv()
Undocumented in source. Be warned that the author may not have intended to support it.
invertible
bool invertible()
Undocumented in source. Be warned that the author may not have intended to support it.
mul
void mul(T factor)
Undocumented in source. Be warned that the author may not have intended to support it.
mul
Mat!(T, rowCount, otherColCount) mul(Mat!(T, otherRowCount, otherColCount) other)

Computes the matrix multiplication of this * other.

mul
Vec!(T, rowCount) mul(Vec!(T, colCount) vector)

Multiplies a vector against this matrix.

opIndex
T opIndex(size_t i, size_t j)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
void opIndexAssign(T value, size_t i, size_t j)
Undocumented in source. Be warned that the author may not have intended to support it.
rowAdd
void rowAdd(size_t rowI, T factor, size_t rowJ)
Undocumented in source. Be warned that the author may not have intended to support it.
rowMultiply
void rowMultiply(size_t row, T factor)
Undocumented in source. Be warned that the author may not have intended to support it.
rowSwitch
void rowSwitch(size_t rowI, size_t rowJ)
Undocumented in source. Be warned that the author may not have intended to support it.
setCol
void setCol(size_t col, Vec!(T, rowCount) vector)
Undocumented in source. Be warned that the author may not have intended to support it.
setRow
void setRow(size_t row, Vec!(T, colCount) vector)
Undocumented in source. Be warned that the author may not have intended to support it.
sub
void sub(Mat!(T, rowCount, colCount) other)
Undocumented in source. Be warned that the author may not have intended to support it.
subMatrix
Mat!(T, rowCount - n, colCount - m) subMatrix(size_t[n] rows, size_t[m] cols)
Undocumented in source. Be warned that the author may not have intended to support it.
transpose
Mat!(T, colCount, rowCount) transpose()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

identity
Mat!(T, N, N) identity()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

data
T[rowCount * colCount] data;
Undocumented in source.

Meta