Re: [R] Kronecker matrix product

From: Berwin A Turlach <berwin_at_maths.uwa.edu.au>
Date: Wed 13 Jul 2005 - 19:44:03 EST

>>>>> "BT" == Berwin A Turlach <berwin@maths.uwa.edu.au> writes:

    >> tmp <- sapply(1:length(L), function(j, mat, list) kronecker(X[j,,drop=FALSE], L[[j]]), mat=X, list=L)

Uups, should proof read more carefully before hitting the send button. This should be, of course:

tmp <- sapply(1:length(L),

              function(j, mat, list) kronecker(mat[j,,drop=FALSE], list[[j]]),
              mat=X, list=L)

Cheers,

        Berwin


R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jul 13 19:50:37 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:37 EST