Skip to content
Prev 5442 / 398502 Next

Matrix inverse

On Fri, 28 Apr 2000, Thomas Lumley wrote:

            
How about 'Ainv <- qr.solve(A)'?

I happened to read the help page for 'qr.solve' the other day, and there I
found that qr.solve(A, b) "is == but much better than solve(A) %*% b".
(I guess that 'better than' refers to numerical stability?)

Is qr.solve generally to be preferred to solve, which seems to be
indicated by the cited help page? And what is hidden behind solve?

G?ran