Microsoft DirectX 9.0 SDK Update (October 2004)

Quaternion.Ln Method

Language:

Note: This documentation is preliminary and is subject to change.

Calculates the natural logarithm.

Definition

Visual Basic .NET Public Sub Ln()
C# public void Ln();
Managed C++ public: void Ln();
JScript .NET public function Ln();

Remarks

The Ln method works only for unit quaternions.

A unit quaternion is defined by the following example.

Q == (cos(theta), sin(theta) * v) where |v| = 1
The natural logarithm of Q is ln(Q) = (0, theta * v)

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center