Vector.opBinary

Allows the vector to be used with normal operators Works component-wise, so each operation of the constant is applied to each component

  1. Vector!(T, dimensions) opBinary(Vector!(T, dimensions) otherVector)
  2. Vector!(T, dimensions) opBinary(T[] otherComponents)
  3. Vector!(T, dimensions) opBinary(T constant)
    class Vector(T, uint dimensions)
    Vector!(T, dimensions)
    opBinary
    (
    string op
    )

Meta