Matrix

Matrix Structure

Constructors

this
this(double[] vec, long r, long c, bool byrow)
Undocumented in source.
this
this(Vector vec, long r, long c, bool byrow)
Undocumented in source.
this
this(double[][] mat)
Undocumented in source.
this
this(Matrix mat)
Undocumented in source.
this
this(double num, long r, long c)
Undocumented in source.

Members

Functions

block
Matrix block(int quad)

Partitioning matrix

det
double det()

Determinant (Using LU Decomposition)

inv
Matrix inv()

Inverse

invL
Matrix invL()
Undocumented in source. Be warned that the author may not have intended to support it.
invU
Matrix invU()
Undocumented in source. Be warned that the author may not have intended to support it.
isSquare
bool isSquare()

Check Square Matrix

lu
auto lu()

LU Decomposition

makeFalse
Matrix makeFalse()

True -> False

matForm
double[][] matForm()
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Matrix opBinary(double rhs)

Binary Operator with Scalar

opBinary
Matrix opBinary(Matrix rhs)

Binary Operator with Matrix

opIndex
double opIndex(size_t i, size_t j)

Getter

opIndexAssign
void opIndexAssign(double value, size_t i, size_t j)

Setter

refresh
void refresh()

Reduce cost

toString
void toString(void delegate(const(char)[]) sink)
Undocumented in source. Be warned that the author may not have intended to support it.
transpose
Matrix transpose()

Transpose

Variables

byRow
bool byRow;
Undocumented in source.
col
long col;
Undocumented in source.
data
double[][] data;
Undocumented in source.
row
long row;
Undocumented in source.
val
Vector val;
Undocumented in source.

Meta