rowtens | R Documentation |
Compute the row tensor product of two matrices with identical numbers of rows.
rowtens(X, Y = X)
X |
a numeric matrix. |
Y |
a numeric matrix (if missing, |
The input matrices must have the same number of rows, say m
. If their numbers of columns are n1
and n2
,
the result is a matrix with m
rows and n1 * n2
columns. Each row of the result is the Kronecker
product of the corresponding rows of X
and Y
.
The row-wise tensor product of the two matrices.
Paul Eilers
Eilers, P. H. C. and Currie, I. D. and Durban, M. (2006) Fast and compact smoothing on large multidimensional grids CSDA 50, 61–76.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.