Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

matrix inversion

Intel_C_Intel
Employee
416 Views
Hi all

I am trying to divide one matrix by another. To do this I have to do a matrix inversion. Does anyone know if there is a specific command to do this directly as for the matmul command.

thanks in advance

eugenio
0 Kudos
1 Reply
isn-removed200637
416 Views
You cannot divide, you must multiply your matrix by the inverse of the other matrix (or multiply the inverse by your matrix - note that the order you do it is important for matrices - IGYKT).
ALso, not all matrices have inverses, so this area can be a can of worms if your matrix turns out to be the awkward type. There exist numerous methods for determining an inverse and whether one exists - you will have to find and link to a library which contains a suitable matrix-inversion routine, possibly one tailored to your specific type of matrix (e.g. symmetric, non-symmetric, block diagonal, real, complex, sparse, ill-conditioned, or any combination of these). Good luck.
0 Kudos
Reply