This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

is there optimized code for matrix inverse function?

Situation:

we want to get X from A X = b , A is a big Sparse matrix, its order is from 128 to 5708.

i looked dsplib , there is only func for matrix Transpose and multiply.

is there optimized code for matrix inverse function?

OR could you give some idea how to solve this problem?

thanks!

Bruce

  • Generally, calculation of inverse matrix is evil and must be avoided whenever possible.

    Next, when you need to solve system of linear algebraic equations, there is number of appropriate methods. If you had a regular system, then LU-decomposition, QR-decomposition or similar might work for you. Sparse systems is somewhat different matter, and though I am not strong in sparse matrix, I believe you don't need to calculate inverse matrix anyway. So I suggest some reading on numerical methods.