Click or drag to resize
DigitalRuneQuaternionDLn Method
Sets this quaternion to its natural logarithm.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public void Ln()
Exceptions
ExceptionCondition
MathematicsException The quaternion is not a unit quaternion.
Remarks

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θ)

See Also