angement of the components of $R1$, score rearranges $R1$ and tries a
% number of permuations. By default, $R1$ is rearranged by permuting indices
% greedily to increase the score. Calling |score| on two symktensors
% converts the symktensors to ktensors and calls the |score
R1 = symktensor([1; -1; 1], reshape(1:9, 3, 3), 3); %Declare some symtensors
R2 = symktensor([1; -1], reshape(1:6, 3,2), 3); 

score(R1, R2) %The score is 1 (perfect match) because the 1st 2 components of R1 match those of R2
%%
% Calli