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)
first DelayedArray object
second DelayedArray object
This function is an extension of the
matrix that is the Khatri-Rao product
The number of columns must match in the two inputs.
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.