1 Reply Latest reply on Apr 6, 2010 3:01 PM by chipf

    Inverse Matrix



      is there any routine to get the inverse of a matrix directly? Or do I have do use SVD to get the inverse?


        • Inverse Matrix

          The Lapack users guide has a comment that you should not really need to do this

          Try looking at dgetri.  It appears to provide an inverse, using LU factorization.    It probably fails if the matrix is singular.

          If your matrix has various other special properties, there are a few other routines that might be useful.