[R] efficiently multiply different matrices in 3-d array with different vectors?

Suzen, Mehmet msuzen at gmail.com
Fri Dec 28 06:47:13 CET 2012


I think what you are doing is a tensor algebra. You may want to try tensorA:

http://cran.r-project.org/web/packages/tensorA/index.html

On 28 December 2012 06:33, Ranjan Maitra <maitra.mbox.ignored at inbox.com> wrote:
> Any pointers on an efficient way of doing this? I considered using
> apply, but was not successful.

please post that code. Why it was not successful? What was the error message?




More information about the R-help mailing list