This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Matrix operations with complex numbers in C

Hi,

I want to do some math operations on matrices in C with complex numbers like multiplication, eigenvalues analysis,.. Can someone recommend any library?

Since I am using Zephyr RTOS with nRF Connect SDK I came across zscilab (scientific library primary based for Zephyr project). But It does not support operations with complex numbers.

I also looked for  CMSIS DSP library in case I would get a system with DSP. I noticed that it does support complex operations on matrix (https://arm-software.github.io/CMSIS_5/DSP/html/group__groupMatrix.html) but the documentation is poor and is not even clear how complex numbers are represented in matrices. All I could figured it out is that float or int data types are supported for data in matrices. Does any one have experience with complex matrix operations?

I saw a library named CLAPACK which is supposed to be very fast but I do not know how to cross compile and get it working for Arm Cortex-M4 (their forum is full of unanswered questions).

Also library GNU GSL seems very promising to me but also do not know how to cross compile it for Arm Cortex-M4.

Any help would be appreciated.

Ales

Parents Reply Children
No Data
Related