khatri_rao_list {DelayedTensor} | R Documentation

## Khatri-Rao Product against list

### Description

Returns the Khatri-Rao product from a list of matrices or vectors. Commonly used for n-mode products and various Tensor decompositions.

### Usage

    khatri_rao_list(L, reverse = FALSE)

### Arguments

`L` | list of DelayedArray
`reverse` | whether or not to reverse the order

### Details

This function is an extension of the `khatri_rao_list` by DelayedArray.

### Value

matrix that is the Khatri-Rao product

### Note

The number of columns must match in every element of the input list.

### See Also

`hadamard`, `hadamard_list`, `kronecker`, `kronecker_list`, `khatri_rao`

### Examples

    library("DelayedRandomArray")
    darr1 <- RandomUnifArray(c(2,3))
    dlizt <- list(
        'darr1' = RandomUnifArray(c(2,4)),
        'darr2' = RandomUnifArray(c(3,4)))
    khatri_rao_list(dlizt)

[Package DelayedTensor version 1.0.0 Index]