Quaternion.opUnary

Unary operation for "~". This means conjugation.

  1. Quaternion!T opUnary()
  2. Quaternion!T opUnary()
  3. Quaternion!T opUnary()
    struct Quaternion(T)
    const
    opUnary
    (
    string op
    )
    ()
    if (
    op == "~"
    )
    if (
    __traits(isArithmetic, T)
    )

Return Value

Type: Quaternion!T

a quaternion conjugate with this quaternion

Meta