Hi,

x and y are (numeric) vectors. I wonder if one of the following is more
efficient than the other:

x%*%y

or

sum(x*y)
?

Thanks,
Dimitri Szerman

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to