- dup
Matrix!Number dup()
- idup
immutable(Matrix!Number) idup()
- idup
immutable(Matrix!Number) idup()
When calling .idup on an already immutable matrix, the reference
to the same immutable matrix is returned. It should be safe to
share the immutable memory in this manner.
- opApply
int opApply(int delegate(ref size_t, ref size_t, ref Number) dg)
Overload for foreach(rowIndex, columnIndex, value; matrix) {}
- opBinary
Matrix!Number opBinary(ref const Matrix!OtherNumber other)
Matrix!Number opBinary(const Matrix!OtherNumber other)
Add or subtract two matrices, yielding a new matrix.
- opBinary
Matrix!Number opBinary(ref const Matrix!OtherNumber other)
Matrix!Number opBinary(const Matrix!OtherNumber other)
Matrix!OtherNumber opBinary(ref const Matrix!OtherNumber other)
- opBinary
Matrix!Number opBinary(OtherNumber other)
- opBinary
Matrix!OtherNumber opBinary(const Matrix!OtherNumber other)
- opEquals
bool opEquals(ref const Matrix!Number other)
bool opEquals(const Matrix!Number other)
- opIndex
inout(Number[]) opIndex(size_t row)
Slice out a row from the matrix. Modifying this
slice will modify the matrix, unless it is copied.
- opIndex
inout(Number) opIndex(size_t row, size_t column)
- opOpAssign
void opOpAssign(const Matrix!OtherNumber other)
Modify this matrix, adding/subtracting values from another matrix.
- opOpAssign
void opOpAssign(OtherNumber other)
Modify this matrix with a scalar value.
A matrix type. This is a 2D array of a guaranteed uniform size.