powered by
Returns the Khatri-Rao (column-wise Kronecker) product of two matrices. If the inputs are vectors then this is the same as the Kronecker product.
khatri_rao(x, y)
first matrix
second matrix
matrix that is the Khatri-Rao product
kronecker, khatri_rao_list
kronecker
khatri_rao_list
# NOT RUN { dim(khatri_rao(matrix(runif(12),ncol=4),matrix(runif(12),ncol=4))) # }
Run the code above in your browser using DataLab