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)
    @safe pure nothrow
    opBinary
    const
    (
    string op
    )
    if (
    op == "+" ||
    op == "-"
    ||
    op == "/"
    )
    if (
    (numCols > 1) &&
    (numRows > 1)
    )
  4. Matrix opBinary(M mat)

Meta