Matrix.opOpAssign

Processes matrix addition and subtraction.

  1. void opOpAssign(Matrix!(Lines, Cols, SumType) summand)
    struct Matrix(size_t Lines, size_t Cols, Type = float)
    @trusted pure nothrow
    void
    opOpAssign
    (
    string op
    SumType
    )
    (
    in Matrix!(Lines, Cols, SumType) summand
    )
    if (
    (
    op == "+" ||
    op == "-"
    )
    &&
    is(SumType : Type)
    )
    if (
    Lines > 0 &&
    Cols > 0
    )
  2. void opOpAssign(Number num)
  3. void opOpAssign(Factor factor)

Meta