Khatri-Rao Product

Description

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.

Usage

1
khatri_rao(x, y)

Arguments

x

first matrix

y

second matrix

Value

matrix that is the Khatri-Rao product

Note

The number of columns must match in the two inputs.

See Also

kronecker, khatri_rao_list

Examples

1

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.