khatri_rao_list | R Documentation |
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)
L |
list of DelayedArray |
reverse |
whether or not to reverse the order |
This function is an extension of the khatri_rao_list
by DelayedArray.
matrix that is the Khatri-Rao product
The number of columns must match in every element of the input list.
hadamard
, hadamard_list
,
kronecker
, kronecker_list
,
khatri_rao
library("DelayedRandomArray")
darr1 <- RandomUnifArray(c(2,3))
dlizt <- list(
'darr1' = RandomUnifArray(c(2,4)),
'darr2' = RandomUnifArray(c(3,4)))
khatri_rao_list(dlizt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.