mloss.org Updating the Cholesky Decomposition for Simple Changes of the System Matrixhttp://mloss.orgUpdates and additions to Updating the Cholesky Decomposition for Simple Changes of the System MatrixenSat, 10 Nov 2007 22:22:39 -0000Updating the Cholesky Decomposition for Simple Changes of the System Matrix 1.0http://mloss.org/software/view/7/<html><p>You should never compute, maintain, or update the inverse of a symmetric positive definite matrix if you do not have to. Computing the inverse or manipulating it is inherently instable. You can almost always do what you want to do using the Cholesky decomposition instead, and it is really simple. Unfortunately, Matlab does not support this (as usual), and while LINPACK contains some code, these routines are not officially supported in the successor LAPACK. Here is some code for stable updating/downdating of a Cholesky factor after simple changes to the system matrix. We slightly adapted the LINPACK code. Our modifications leave the routines numerically identical, while making them faster (by using BLAS routines). </p> <p>More details about these routines is in the paper available at <em>http://www.kyb.tuebingen.mpg.de/bs/people/seeger/papers/cholupdate.pdf</em>. If you use the code in a scientific publication, please cite this paper and/or the web location. </p></html>Matthias SeegerSat, 10 Nov 2007 22:22:39 -0000http://mloss.org/software/rss/comments/7http://mloss.org/software/view/7/