hadamard_list | R Documentation |
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)
L |
list of matrices or vectors |
matrix that is the hadamard product
The modes/dimensions of each element in the list must match.
kronecker_list
, khatri_rao_list
lizt <- list('mat1' = matrix(runif(40),ncol=4),
'mat2' = matrix(runif(40),ncol=4),
'mat3' = matrix(runif(40),ncol=4))
dim(hadamard_list(lizt))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.