Matrix.opBinary

  1. auto opBinary(in Matrix!(bH, bW, X) mtr)
    struct Matrix(size_t H, size_t W, E)
    pure
    opBinary
    const
    (
    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(in X b)
  3. auto opBinary(in Matrix!(bH, bW, X) mtr)
  4. auto opBinary(in Vector!(K, X) v)

Meta