Skip to content

Sqrt

Module: Statistics Functions

Modules

Name
Sqrt Kernels

Functions

Name
void plp_sqrt_f32(const float restrict pSrc, float restrict pRes)
Glue code for square root of a 32-bit floating point number.
void plp_sqrt_q16(const int16_t restrict pSrc, const uint32_t fracBits, int16_t restrict pRes)
Glue code for square root of a 16-bit fixed point number.
void plp_sqrt_q32(const int32_t restrict pSrc, const uint32_t fracBits, int32_t restrict pRes)
Glue code for square root of a 32-bit fixed point number.

Functions Documentation

function plp_sqrt_f32

void plp_sqrt_f32(
    const float *__restrict__ pSrc,
    float *__restrict__ pRes
)

Glue code for square root of a 32-bit floating point number.

Parameters:

  • pSrc points to the input vectoro
  • pRes Square root returned here

Return: none

function plp_sqrt_q16

void plp_sqrt_q16(
    const int16_t *__restrict__ pSrc,
    const uint32_t fracBits,
    int16_t *__restrict__ pRes
)

Glue code for square root of a 16-bit fixed point number.

Parameters:

  • pSrc points to the input vector
  • pRes Square root returned here

Return: none

function plp_sqrt_q32

void plp_sqrt_q32(
    const int32_t *__restrict__ pSrc,
    const uint32_t fracBits,
    int32_t *__restrict__ pRes
)

Glue code for square root of a 32-bit fixed point number.

Parameters:

  • pSrc points to the input vector
  • pRes Square root returned here

Return: none


Updated on 2023-03-01 at 16:16:32 +0000