Vector.opBinary

Processes vector multiplication with another vector. Due to mathematical restrictions that vector can be multiplied or divided only by perpendicular vector, both vectors will be converted to matrix and then processed.

  1. Self opBinary(Vector!(Size, SumType, SumAccessors, Orientation) summand)
  2. Self opBinary(Number num)
  3. auto opBinary(Factor factor)
    struct Vector(size_t Size, Type = float, string Accessors = "", string Orientation = "horizontal")
    @trusted pure nothrow
    opBinary
    (
    string op
    Factor
    )
    (
    Factor factor
    )
    if (
    op == "*" &&
    isVector!Factor
    )
    if (
    Size > 0
    )

Meta