nk 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.
V = [L; X(:)]; %<REPLACE_WITH_DASH_DASHForming the vectorized version
S2 = symktensor(V, symtensor(@ones,m,n)) %<REPLACE_WITH_DASH_DASHsize specified from symtensor

S2 = symktensor(X(:), symtensor(@ones,m,n), true) %<REPLACE_WITH_DASH_DASH'nolambda' option

S2 = symktensor(V, m, r) %<REPLACE_WITH_DASH_DASHsize 