Quaternion normalization
- RISCV_DSP_ATTRIBUTE void riscv_quaternion_normalize_f32 (const float32_t *pInputQuaternions, float32_t *pNormalizedQuaternions, uint32_t nbQuaternions)
- group QuatNormalized
Compute a normalized quaternion.
Functions
- RISCV_DSP_ATTRIBUTE void riscv_quaternion_normalize_f32 (const float32_t *pInputQuaternions, float32_t *pNormalizedQuaternions, uint32_t nbQuaternions)
Floating-point normalization of quaternions.
- Parameters
pInputQuaternions – [in] points to the input vector of quaternions
pNormalizedQuaternions – [out] points to the output vector of normalized quaternions
nbQuaternions – [in] number of quaternions in each vector