khatri_rao-methods | R Documentation |
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(darr1, darr2)
## S4 method for signature 'DelayedArray,DelayedArray'
khatri_rao(darr1, darr2)
darr1 |
first DelayedArray object |
darr2 |
second DelayedArray object |
This function is an extension of the khatri_rao
by DelayedArray.
matrix that is the Khatri-Rao product
The number of columns must match in the two inputs.
hadamard
, hadamard_list
,
kronecker
, kronecker_list
,
khatri_rao_list
library("DelayedRandomArray")
darr1 <- RandomUnifArray(c(2,4))
darr2 <- RandomUnifArray(c(3,4))
khatri_rao(darr1, darr2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.