STM32F1 CMSIS DSP Matrix Functions

Started by tha, July 20, 2021, 07:01:47 AM

Previous topic - Next topic

tha



Returns

The function คืนค่าอย่างใดอย่างหนึ่ง ARM_MATH_SIZE_MISMATCH หรือ ARM_MATH_SUCCESS ขึ้นอยู่กับผลของ size checking.

References ARM_MATH_SIZE_MISMATCH, ARM_MATH_SUCCESS, arm_matrix_instance_f32::numCols, arm_matrix_instance_f32::numRows, arm_matrix_instance_f32::pData, and status.

tha


tha



tha



Description

Subtract two matrices.



The functions จะเช็คเพื่อทำให้แน่ใจว่า pSrcA, pSrcB, and pDst มี the same number of rows and columns.

tha


tha


tha


tha



Description

คุณ two matrices.



Matrix multiplication ถูกกำหนดเฉพาะถ้าจำนวนของ columns ของ the first matrix เท่ากันกับจำนวนของ rows ของ the second matrix. การคูณ an M x N matrix ด้วย an N x P matrix ได้ผลใน an M x P matrix. เมื่อ matrix size checking ถูกเปิดการใช้งาน, the functions จะเช็ค: (1) ว่า the inner dimensions ของ pSrcA และ pSrcB เท่ากัน; และ (2) ว่าขนาดของ the output matrix เท่ากับ the outer dimensions ของ pSrcA และ pSrcB.