Matrix inversion

As far as I can see root has several methods to invert matrix.
Which method is the best to invert matrix when determinant is close to zero?

An extensive tutorial exists in …tutorials/invertMatrix.C