NMSIS-DSP  Version 1.3.1
NMSIS DSP Software Library

Compute the norm of a quaternion. More...

Functions

RISCV_DSP_ATTRIBUTE void riscv_quaternion_norm_f32 (const float32_t *pInputQuaternions, float32_t *pNorms, uint32_t nbQuaternions)
 Floating-point quaternion Norm. More...
 

Detailed Description

Compute the norm of a quaternion.

Function Documentation

◆ riscv_quaternion_norm_f32()

RISCV_DSP_ATTRIBUTE void riscv_quaternion_norm_f32 ( const float32_t pInputQuaternions,
float32_t pNorms,
uint32_t  nbQuaternions 
)

Floating-point quaternion Norm.

Parameters
[in]pInputQuaternionspoints to the input vector of quaternions
[out]pNormspoints to the output vector of norms
[in]nbQuaternionsnumber of quaternions in the input vector