Click or drag to resize
DigitalRuneQuaternionDExp Method (QuaternionD)
Calculates the exponential.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static QuaternionD Exp(
	QuaternionD quaternion
)

Parameters

quaternion
Type: DigitalRune.Mathematics.AlgebraQuaternionD
The quaternion.

Return Value

Type: QuaternionD
The exponential eq.
Remarks

Important: This method requires that the quaternion is a pure quaternion. A pure quaternion is defined by q = (0, uθ) where u is a unit vector.

The exponential of a quaternion q is defines as:

eq = (cosθ + usinθ)

The result is returned as a quaternion with the form: (cos(θ), usin(θ))

See Also