kronecker_list: List Kronecker Product

Description Usage Arguments Value See Also Examples

View source: R/rTensor_Misc.R

Description

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

Usage

1

Arguments

L

list of matrices or vectors

Value

matrix that is the Kronecker product

See Also

hadamard_list, khatri_rao_list, kronecker

Examples

1
2
3
4
smalllizt <- list('mat1' = matrix(runif(12),ncol=4), 
'mat2' = matrix(runif(12),ncol=4),
'mat3' = matrix(runif(12),ncol=4))
dim(kronecker_list(smalllizt))

Example output

[1] 27 64

rTensor documentation built on May 15, 2021, 9:06 a.m.