Description Usage Arguments Details Value Note Author(s) Examples
Calculates the Khatri-Rao product (i.e., columnwise Kronecker product) between two matrices with the same number of columns.
1 | krprod(X, Y)
|
X |
Matrix of order n-by-p. |
Y |
Matrix of order m-by-p. |
Given X
(n-by-p) and Y
(m-by-p), the Khatri-Rao product Z = krprod(X,Y)
is defined as
Z[,j] = kronecker(X[,j],Y[,j])
|
which is the mn-by-p matrix containing Kronecker products of corresponding columns of X
and Y
.
The mn-by-p matrix of columnwise Kronecker products.
X
and Y
must have the same number of columns.
Nathaniel E. Helwig <helwig@umn.edu>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.