[Rd] possible bug in det using method="qr" (PR#1244)
armin@approximity.com
armin@approximity.com
Sat, 5 Jan 2002 01:48:25 +0100 (MET)
Full_Name: Armin Roehrl
Version: 1.4.0(2001-12-19)
OS: Linux; Suse 7.3
Submission from: (NULL) (217.84.18.204)
Hello,
On a given matrix det returns different results whether
I use the method "qr" or "eivenvalues".
The matrix:
> m2
[,1] [,2] [,3]
[1,] 9.822616e+09 3.841723e+09 79790.09
[2,] 3.841723e+09 1.502536e+09 31251.82
[3,] 7.979009e+04 3.125182e+04 64156419.36
> det(m2, method="eigenvalues")
[1] -9.331893e+19
> det(m2, method="qr")
[1] 9.331893e+19
I think the result based on the eigenvalues is correct.
Good night.
Armin
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._