Matrix.opBinary

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

Meta