Matrix.opBinary

  1. auto opBinary(Matrix!(bH, bW, X) mtr)
    struct Matrix(size_t H, size_t W, E)
    pure const
    opBinary
    (
    string op
    size_t bH
    size_t bW
    X
    )
    (
    in Matrix!(bH, bW, X) mtr
    )
    if (
    (
    op == "+" ||
    op == "-"
    )
    &&
    allowSomeOp(H, bH)
    &&
    allowSomeOp(W, bW)
    )
  2. auto opBinary(X b)
  3. auto opBinary(Matrix!(bH, bW, X) mtr)
  4. auto opBinary(Vector!(K, X, AS) v)

Meta