Tensor decompositions

The mprod.decomposition module includes tensor decomposition algorithms. Currently, the tsvdm and tqrm decompositions is implemented. Future plans are to implement additional factorizations such as non negative tensor factorization (NTF) .

svdm(tens_a, fun_m, inv_m[, hats])

The svdm function is a helper function for computing the tsvdmII.

tqrm(tens_a, fun_m, inv_m[, hats])

The tqrm implements tensor-QR decomposition: Q,R = tqrm(tensor_a, m, inv_m) where Q is M-orthogonal tensor of shape (m,m,n) and R is f-upper triangular tensor of shape (m,p,n)