Vector.opBinary

Any binary operations execs per element

  1. auto opBinary(auto ref const(Vector!(K, E)) b)
    struct Vector(size_t N, T)
    pure
    opBinary
    const
    (
    string op
    size_t K
    E
    )
    (
    auto ref const(Vector!(K, E)) b
    )
    if (
    isValidOp!(op, T, E) &&
    (
    K == N ||
    K == 0
    ||
    N == 0
    )
    )
  2. auto opBinary(auto ref const(E) b)
  3. auto opOpAssign(auto ref const(E) b)

Meta