[R] Matrix inverse
    Thomas Lumley 
    thomas at biostat.washington.edu
       
    Fri Apr 28 19:09:12 CEST 2000
    
    
  
On Fri, 28 Apr 2000, Patrik Waldmann wrote:
> I haven't found a function that directly calculates the matrix inverse, does it exist? Otherwise what would be the fastest way to do it?
> 
Ainv<-solve(A)
Note that if you want to solve Ax=b you can do solve(A,b), which should be
quicker than solve(A)%*%b
	-thomas
Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
    
    
More information about the R-help
mailing list