On 1 June 2010 11:34, Peter Ehlers <ehl...@ucalgary.ca> wrote:
> Or, for a very slight further reduction in time in
> the case of larger matrices/vectors:
>
>  as.vector(tcrossprod(V, xyzs))
>
> I mention this merely to remind new users of the
> excellent speed of [t]crossprod().
>
>  -Peter Ehlers

Thanks, I've been using t(x)%*%y for several years now, and had never
found out there was a faster and more straight-forward function for
this. Perhaps a link to [t]crossprod could be added on the help page
for ?"%*%".

Best,

baptiste

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to