powered by
Returns the hadamard (element-wise) product from a list of matrices or vectors. Commonly used for n-mode products and various Tensor decompositions.
hadamard_list(L)
list of matrices or vectors
matrix that is the hadamard product
kronecker_list, khatri_rao_list
kronecker_list
khatri_rao_list
# NOT RUN { lizt <- list('mat1' = matrix(runif(40),ncol=4), 'mat2' = matrix(runif(40),ncol=4), 'mat3' = matrix(runif(40),ncol=4)) dim(hadamard_list(lizt)) # }
Run the code above in your browser using DataLab