Matrix.opBinary

  1. auto opBinary(auto ref const(Matrix!(bH, bW, X)) mtr)
  2. auto opBinary(auto ref const(X) b)
  3. auto opBinary(auto ref const(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
    )
    (
    auto ref const(Matrix!(bH, bW, X)) mtr
    )
    if (
    op == "*" &&
    allowSomeOp(W, bH)
    &&
    isValidOp!("*", E, X)
    )
  4. auto opBinary(auto ref const(Vector!(K, X)) v)

Meta