Home
last modified time | relevance | path

Searched refs:doubler (Results 1 – 1 of 1) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/CMSIS/DSP/Source/QuaternionMathFunctions/
Darm_rotation2quaternion_f32.c83 float32_t doubler; in arm_rotation2quaternion_f32() local
103 (void)arm_sqrt_f32(trace + 1.0, &doubler) ; // invs=4*qw in arm_rotation2quaternion_f32()
104 doubler = 2*doubler; in arm_rotation2quaternion_f32()
105 s = 1.0 / doubler; in arm_rotation2quaternion_f32()
110 q[0] = 0.25 * doubler; in arm_rotation2quaternion_f32()
117 (void)arm_sqrt_f32(1.0 + R00 - R11 - R22,&doubler); // invs=4*qx in arm_rotation2quaternion_f32()
118 doubler = 2*doubler; in arm_rotation2quaternion_f32()
119 s = 1.0 / doubler; in arm_rotation2quaternion_f32()
125 q[1] = 0.25 * doubler; in arm_rotation2quaternion_f32()
131 (void)arm_sqrt_f32(1.0 + R11 - R00 - R22,&doubler); // invs=4*qy in arm_rotation2quaternion_f32()
[all …]