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.
spt_mttkrp(X, U, n)
sparse tensor
list of matrices to be multiplied by X
the mode used
a dense matrix of size nrow=X$size[n],ncol=R
-Brett W. Bader, Tamara G. Kolda and others. MATLAB Tensor Toolbox, Version [v3.0]. Available online at https://www.tensortoolbox.org, 2015.