STM32F1 CMSIS DSP Statistics Functions(สถิติ)

Started by tha, July 09, 2021, 07:13:38 AM

Previous topic - Next topic

tha



Scaling and Overflow Behavior:

The function ถูกจัดให้มีใช้โดยใช้ a 64-bit internal accumulator. The input ถูกแสดงใน 1.31 format และถูกสะสมใน a 64-bit accumulator ใน 33.31 format. ไม่มีความเสี่ยงของ internal overflow ด้วยการเข้าใกล้นี้, และ the full precision ของ intermediate result ถูกรักษา. สุดท้าย, the accumulator ถูกทำให้อิ่มตัวและตัดออกเพื่อให้ได้ผลลัพธ์ของ 1.31 format.

References blockSize.

tha



Scaling and Overflow Behavior:

The function ถูกจัดให้มีใช้โดยใช้ a 32-bit internal accumulator. The input ถูกแสดงใน 1.7 format และถูกสะสมใน a 32-bit accumulator ใน 25.7 format. ไม่มีความเสี่ยงของ internal overflow ด้วยการเข้าใกล้นี้, และ the full precision ของ intermediate result ถูกรักษา. สุดท้าย, the accumulator ถูกทำให้อิ่มตัวและตัดออกเพื่อให้ได้ผลลัพธ์ของ 1.7 format.

References __SIMD32, and blockSize.

tha

file:///D:/System%20Workbench/STM32CubeF1-master/Drivers/CMSIS/docs/DSP/html/group__Min.html



Description

คำนวณค่าต่ำสุดของ an array of data. The function คืนกลับทั้ง the minimum value และตำแหน่งของมันภายใน the array. มีฟังชั่นที่แยกกันสำหรับ floating-point, Q31, Q15, and Q7 data types.






tha

file:///D:/System%20Workbench/STM32CubeF1-master/Drivers/CMSIS/docs/DSP/html/group__power.html



Description

คำนวณผลรวมของกำลังสองขององค์ประกอบใน the input vector. The underlying algorithm ถูกใช้:

Result = pSrc[0] * pSrc[0] + pSrc[1] * pSrc[1] + pSrc[2] * pSrc[2] + ... + pSrc[blockSize-1] * pSrc[blockSize-1];

มีฟังชั่นที่แยกกันสำหรับ floating-point, Q31, Q15, and Q7 data types.