Vector.opBinary

Define Cross Product for R3 (operation c = a & b )

  1. Vector opBinary(Vector rhs)
  2. Vector opBinary(T rhs)
  3. T opBinary(Vector rhs)
  4. Vector opBinary(Vector rhs)
    struct Vector(T, size_t dim_)
    nothrow @nogc pure const
    opBinary
    (
    string op
    )
    (
    auto ref const Vector rhs
    )
    if (
    op == "&" &&
    dim == 3
    )
    if (
    __traits(isFloating, T)
    )

Meta