[R] Matrix Multiplication, Floating-Point, etc.

Talbot Katz topkatz at msn.com
Sat Jul 28 00:30:41 CEST 2007


I recently tried the following in R 2.5.1 on Windows XP:

[1,] -2.664427e-17
[1] 0

(I got the same result with R 2.4.1 on a different Windows XP machine.)

I expect this issue is very familiar and probably has been discussed in this 
forum before.  Can someone please point me to some documentation or 
discussion about this?  Is there some standard way to get the "correct" 
answer from %*%?


--  TMK  --
212-460-5430	home
917-656-5351	cell

More information about the R-help mailing list