Jump to content

Factorize string into Lyndon words: Difference between revisions

(Add MATLAB implementation)
Line 53:
 
factorization = chenFoxLyndonFactorization(m);
dispfor index=1:length(factorization);
disp(factorization(index));
end
 
 
Line 81 ⟶ 83:
{{out}}
<pre>
{'011'}
Columns 1 through 8
 
{'01'}
 
{'0011'}
 
{'00101101'}
 
{'0010110011010011'}
 
{'00101100110100101101001100101101'}
 
{'001011001101001011010011001011001101001100101101'}
{'011'} {'01'} {'0011'} {'00101101'} {'0010110011010011'} {'001011001101001…'} {'001011001101001…'} {'001011001101'}
 
{'001011001101'}
Column 9
 
{'001'}
338

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.