Click or drag to resize
DigitalRuneQuaternionFExp Method (QuaternionF)
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 QuaternionF Exp(
	QuaternionF quaternion
)

Parameters

quaternion
Type: DigitalRune.Mathematics.AlgebraQuaternionF
The quaternion.

Return Value

Type: QuaternionF
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