Matrix.opBinary

matrix-matrix component-wise operations addition, subtraction and division, using vector-vector operations of all colums

  1. auto opBinary(T s)
  2. auto opBinary(V vec)
  3. Matrix opBinary(Matrix mat)
    struct Matrix(type, int numCols, int numRows)
    nothrow @nogc pure nothrow @nogc pure nothrow @nogc @safe @safe pure nothrow const
    opBinary
    (
    string op
    )
    if (
    op == "+" ||
    op == "-"
    ||
    op == "/"
    )
    if (
    (numCols > 1) &&
    (numRows > 1)
    )
  4. Matrix opBinary(M mat)

Meta