| QuaternionDExp Method (QuaternionD) |
Calculates the exponential.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static QuaternionD Exp(
QuaternionD quaternion
)
Public Shared Function Exp (
quaternion As QuaternionD
) As QuaternionD
public:
static QuaternionD Exp(
QuaternionD quaternion
)
static member Exp :
quaternion : QuaternionD -> QuaternionD
Parameters
- quaternion
- Type: DigitalRune.Mathematics.AlgebraQuaternionD
The quaternion.
Return Value
Type:
QuaternionDThe exponential e
q.
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