spt_mttkrp: Matricized tensor times Khatri-Rao product for ktensor

Description Usage Arguments Value Author(s) References

View source: R/cp_nmu.R

Description

V = MTTKRP(X,U,n) efficiently calculates the matrix product of the n-mode matricization of X with the Khatri-Rao product of all entries in U, a cell array of matrices, except the nth. The tensor is considered to be sparse.

Usage

1
    spt_mttkrp(X, U, n)

Arguments

X

sparse tensor

U

list of matrices to be multiplied by X

n

the mode used

Value

a dense matrix of size nrow=X$size[n],ncol=R

Author(s)

Abdelmoneim Amer Desouki

References

-Brett W. Bader, Tamara G. Kolda and others. MATLAB Tensor Toolbox, Version [v3.0]. Available online at https://www.tensortoolbox.org, 2015.


RDFTensor documentation built on Jan. 16, 2021, 5:19 p.m.