rTensor (version 1.4)

kronecker_list: List Kronecker Product

Description

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

Usage

kronecker_list(L)

Arguments

L

list of matrices or vectors

Value

matrix that is the Kronecker product

See Also

hadamard_list, khatri_rao_list, kronecker

Examples

Run this code
# NOT RUN {
smalllizt <- list('mat1' = matrix(runif(12),ncol=4), 
'mat2' = matrix(runif(12),ncol=4),
'mat3' = matrix(runif(12),ncol=4))
dim(kronecker_list(smalllizt))
# }

Run the code above in your browser using DataCamp Workspace