Matrix

Matrix Structure

Constructors

this
this(long r, long c, bool byrow = false)

Uninitialized Matrix

Members

Functions

block
Matrix block(int quad)

Partitioning matrix

det
double det()

Determinant (Using LU Decomposition)

isSquare
bool isSquare()

Check Square Matrix

lu
auto lu()

LU Decomposition

makeWrong
Matrix makeWrong()

True -> False

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

transpose
Matrix transpose()

Transpose

Meta