khatri_rao: Khatri-Rao Product

Description Usage Arguments Value Note See Also Examples

View source: R/rTensor_Misc.R

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


rTensor documentation built on May 19, 2017, 3:32 p.m.
Search within the rTensor package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.