Vector.opBinary

Returns a new vector with binary operator applied to all elements and scalar

  1. Vector opBinary(T scalar)
    struct Vector(T, uint N)
    pure const
    opBinary
    (
    string op
    )
    (
    const T scalar
    )
    if (
    !op.among("~", "<<", ">>", ">>>")
    )
    if (
    N > 0
    )
  2. Vector!(T, max(N, M)) opBinary(T[M] other)
  3. Vector!(T, N + 1) opBinary(T scalar)
  4. Vector!(T, N + M) opBinary(T[M] other)
  5. Vector opBinaryRight(T scalar)

Meta