struct Matrix(Number, size_t _rowCount, size_t _columnCount)
@safe pure nothrow
opBinary
const
(
string op
OtherNumber
size_t otherRowCount
size_t otherColumnCount
)
(
ref const(Matrix!(OtherNumber, otherRowCount, otherColumnCount)) other )
if (
isNumeric!Number &&
_rowCount > 0
&&
_columnCount > 0
)
Multiply two matrices.
Given a matrix of size (m, n) and a matrix of size (o, p). This operation can only work if n == o. The resulting matrix will be size (m, p).