| QuaternionDPower Method (QuaternionD, Double) |
Calculates the power of a unit quaternion.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static QuaternionD Power(
QuaternionD quaternion,
double t
)
Public Shared Function Power (
quaternion As QuaternionD,
t As Double
) As QuaternionD
public:
static QuaternionD Power(
QuaternionD quaternion,
double t
)
static member Power :
quaternion : QuaternionD *
t : float -> QuaternionD
Parameters
- quaternion
- Type: DigitalRune.Mathematics.AlgebraQuaternionD
The quaternion. - t
- Type: SystemDouble
The exponent.
Return Value
Type:
QuaternionDThe power of the unit quaternion.
Remarks Important: This method requires that the quaternion is a unit quaternion.
The power of quaternion is defined as:
qt = eutθ
= cos(tθ) + usin(tθ)
See Also