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

CMSIS Matrix inverse returns singular for nonsingular matrices

Hi

I have been testing the CMSIS DSP matrix inverse function and am observing unexpected results. In particular, the function arm_mat_inverse_f32 returns ARM_MATH_SINGULAR for matrices that are clearly not singular. For example, a 4x4 identity matrix (ones on the diagonal, zero everywhere else) returns a singularity error.

Is this expected behaviour? Is there a way to improve this?

Thanks!

Markus

Parents
  • Hi Markus,

    Just a heads up.  I have reproduced the issue.  We're trying to think of an elegant solution to it now.  When there's a fix, I will post the update file here as well as make sure it ends up in the next release of CMSIS.  If you have any suggestions for fixes, feel free to post them.

    Dan

Reply
  • Hi Markus,

    Just a heads up.  I have reproduced the issue.  We're trying to think of an elegant solution to it now.  When there's a fix, I will post the update file here as well as make sure it ends up in the next release of CMSIS.  If you have any suggestions for fixes, feel free to post them.

    Dan

Children
No data