Click or drag to resize
DigitalRuneQuaternionFInverse Property
Returns the inverse of this quaternion.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public QuaternionF Inverse { get; }

Property Value

Type: QuaternionF
The inverse of this quaternion.
Exceptions
ExceptionCondition
MathematicsException The length of the quaternion is zero. The quaternion cannot be inverted.
Remarks

The (multiplicative) inverse of a quaternion is calculated by using the following formula:

q-1 = q* / (q q*) = q* / N(q)

The property does not change this quaternion. To invert this instance you need to call Invert.

The inverse of a unit quaternion is the same as its conjugate. You might consider using the property Conjugated because it is faster than Inverse.

See Also