Debian Codegraph @

docs/manual/Permutation__Rotate___.html

raw
1 <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2 <title>Permutation: Rotate...</title>
3 <style>
4 td { padding-left: 5pt; padding-right: 5pt; }
5 th { padding-left: 5pt; padding-right: 5pt; }
6 code { white-space: pre-wrap; }
7 dd { white-space: pre-wrap; }
8 </style>
9 </head><body bgcolor="#FFFFFF">
10
11 <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b>
12 Permutation: Rotate...
13 </b></font></table></table>
14 <p>A circular shift of all elements within the given range.</p>
15 <h2>Settings</h2>
16 <dl>
17 <dt><b>Index range</b>
18 <dd>the range of elements that will be circularly permuted.</dd>
19 <dt><b>Step size</b>
20 <dd>define how many positions each element will be shifted.</dd>
21 </dl>
22 <h2>Examples</h2>
23 <p>1. With <b>Step size</b> = 2 and <b>Index range</b> = [1,5], the permutation (1,2,3,4,5) is turned into (4,5,1,2,3). </p>
24 <p>2. With <b>Step size</b> = 2 and <b>Index range</b> = [2,5], the permutation ((1),(2,3,4,5)) is turned into ((1),(4,5,2,3))</p>
25 <p>3. With <b>Step size</b> = -1 and <b>Index range</b> = [0,0], the permutation (1,2,3,4,5) is turned into (2,3,4,5,1).</p>
26 <h3>Links to this page</h3>
27 <ul>
28 <li><a href="Permutation.html">Permutation</a>
29 </ul>
30 <hr>
31 <address>
32 <p>© djmw 20110105</p>
33 </address>
34 </body>
35 </html>