Quaternion.Ln Method

Language:

Calculates the natural logarithm.

Definition

Visual Basic Public Sub Ln()
C# public void Ln();
C++ public:
void Ln();
JScript 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


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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