QuaternionDLn Method |
Namespace: DigitalRune.Mathematics.Algebra
Exception | Condition |
---|---|
MathematicsException | The quaternion is not a unit quaternion. |
Important: This method requires that the quaternion is a unit quaternion.
The natural logarithm of a quaternion q is defines as:
ln(q) = ln(cos(θ) + usin(θ)) = ln(euθ) = uθ
The result is returned as a quaternion with the form: (0, uθ)