| QuaternionFPower Method (QuaternionF, Single) |
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 QuaternionF Power(
QuaternionF quaternion,
float t
)
Public Shared Function Power (
quaternion As QuaternionF,
t As Single
) As QuaternionF
public:
static QuaternionF Power(
QuaternionF quaternion,
float t
)
static member Power :
quaternion : QuaternionF *
t : float32 -> QuaternionF
Parameters
- quaternion
- Type: DigitalRune.Mathematics.AlgebraQuaternionF
The quaternion. - t
- Type: SystemSingle
The exponent.
Return Value
Type:
QuaternionFThe 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