Click or drag to resize
DigitalRuneQuaternionDDivision Operator (QuaternionD, QuaternionD)
Divides a quaternions by another quaternion.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static QuaternionD operator /(
	QuaternionD dividend,
	QuaternionD divisor
)

Parameters

dividend
Type: DigitalRune.Mathematics.AlgebraQuaternionD
The first quaternion (dividend).
divisor
Type: DigitalRune.Mathematics.AlgebraQuaternionD
The second quaternion (divisor).

Return Value

Type: QuaternionD
The result of the division.
Exceptions
ExceptionCondition
MathematicsException The quaternion divisor cannot be inverted.
Remarks

A quaternion is divided by another quaternion by multiplying it with the inverse. For example, two quaternions q1 and q2:

q1 / q2 = q1q2-1

See Also