Tries to invert a matrix by solve. If this fails because of
singularity, an eigenvector decomposition is computed, and eigenvalues below
1/cmax are replaced by 1/cmax, i.e., cmax will be the
corresponding eigenvalue of the inverted matrix.
Tries to invert a matrix by solve. If this fails because of
singularity, an eigenvector decomposition is computed, and eigenvalues below
1/cmax are replaced by 1/cmax, i.e., cmax will be the
corresponding eigenvalue of the inverted matrix.