powered by
Returns the Khatri-Rao product from a list of matrices or vectors. Commonly used for n-mode products and various Tensor decompositions.
khatri_rao_list(L, reverse = FALSE)
matrix that is the Khatri-Rao product
list of matrices or vectors
whether or not to reverse the order
khatri_rao
smalllizt <- list('mat1' = matrix(runif(12),ncol=4), 'mat2' = matrix(runif(12),ncol=4), 'mat3' = matrix(runif(12),ncol=4)) dim(khatri_rao_list(smalllizt))
Run the code above in your browser using DataLab