[R] Faster matrix operation?
baptiste.auguie at googlemail.com
Tue Jun 1 11:43:36 CEST 2010
On 1 June 2010 11:34, Peter Ehlers <ehlers at 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
More information about the R-help