rized version of the factor matrix. The shape of the tensor must also be specified, by either passing a tensor/symtensor or listing the number of modes and the rank of the decomposition explicitly. Additionally, a 'nolambda' option can be added to any of these constructions, in which case the lambda vector should not be stacked onto the factor matrix.</p><pre class="codeinput">V = [L; X(:)]; <span class="comment">%&lt;--Forming the vectorized version</span>
S2 = symktensor(V, symtensor(@ones,m,n)) <span cla