Vector.opBinary

Define Scalar multiplication

  1. Vector opBinary(Vector rhs)
  2. Vector opBinary(T rhs)
    struct Vector(T, size_t dim_)
    nothrow @nogc pure const
    opBinary
    (
    string op
    )
    (
    in T rhs
    )
    if (
    op == "*" ||
    op == "/"
    )
    if (
    __traits(isFloating, T)
    )
  3. T opBinary(Vector rhs)
  4. Vector opBinary(Vector rhs)

Meta