nsional array
% The function |double| converts a symktensor to a multi-dimensional array.
double(S)
%% Basic operations with symktensors
% Symktensors support multiplication by scalars. The result is the symktensor
% with the weight vector multiplied by the scalar.
4*S

%% Use norm to compute the Frobenius norm of a symktensor
% The function |norm| returns the Frobenius norm of a symktensor.
norm(S)
%% Use normalize to normalize the components of a symktensor.
% The function |normalize| divides each of the 