Matrix.opBinary

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).

  1. Matrix!Number opBinary(ref const Matrix!OtherNumber other)
  2. Matrix!Number opBinary(const Matrix!OtherNumber other)
  3. Matrix!Number opBinary(ref const Matrix!OtherNumber other)
  4. Matrix!Number opBinary(const Matrix!OtherNumber other)
  5. Matrix!OtherNumber opBinary(ref const Matrix!OtherNumber other)
  6. Matrix!OtherNumber opBinary(const Matrix!OtherNumber other)
    struct Matrix(Number)
    @safe pure nothrow
    Matrix!OtherNumber
    opBinary
    const
    (
    string op
    OtherNumber
    )
    (
    const Matrix!OtherNumber other
    )
    if (
    (op == "*") &&
    !is(Number == OtherNumber)
    &&
    is(Number : OtherNumber)
    )
    if (
    isNumeric!Number
    )
  7. Matrix!Number opBinary(OtherNumber other)

Parameters

other
Type: Matrix!OtherNumber

Another matrix

Return Value

Type: Matrix!OtherNumber

The product of two matrices.

Meta