Rev 10294 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 10294 | Rev 12987 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | <ul class="inline nopuce"> |
1 | <ul class="inline nopuce"> |
2 | <li><table class="wimsborder"> |
2 | <li><table class="wimsborder"> |
3 | <caption>$addtable</caption> |
3 | <caption>$addtable</caption> |
4 | <tr><td $opcolor>+</td> |
4 | <tr><td $opcolor>+</td> |
5 | !for j=0 to $q-1 |
5 | !for j=0 to $q-1 |
6 | <td $hdcolor>$(el$j)</td> |
6 | <td $hdcolor>$(el$j)</td> |
7 | !next j |
7 | !next j |
8 | </tr> |
8 | </tr> |
9 | !for i=0 to $q-1 |
9 | !for i=0 to $q-1 |
10 | <tr><td $hdcolor>$(el$i)</td> |
10 | <tr><td $hdcolor>$(el$i)</td> |
11 | !for j=0 to $q-1 |
11 | !for j=0 to $q-1 |
12 | !if $field=prime |
12 | !if $field=prime |
13 | !set t=!eval ($i+$j)%$q |
13 | !set t=!eval ($i+$j)%$q |
14 | !else |
14 | !else |
15 | !set t=!item $i+1 of $(add$j) |
15 | !set t=!item $i+1 of $(add$j) |
16 | !endif |
16 | !endif |
17 | <td>$(el$t)</td> |
17 | <td>$(el$t)</td> |
18 | !next j |
18 | !next j |
19 | </tr> |
19 | </tr> |
20 | !next i |
20 | !next i |
21 | </table> |
21 | </table> |
22 | </li><li> |
22 | </li><li> |
23 | <table class="wimsborder"> |
23 | <table class="wimsborder"> |
24 | <caption>$multable</caption> |
24 | <caption>$multable</caption> |
25 | <tr><td $opcolor>*</td> |
25 | <tr><td $opcolor>*</td> |
26 | !for j=0 to $q-1 |
26 | !for j=0 to $q-1 |
27 | <td $hdcolor>$(el$j)</td> |
27 | <td $hdcolor>$(el$j)</td> |
28 | !next j |
28 | !next j |
29 | </tr> |
29 | </tr> |
30 | !for i=0 to $q-1 |
30 | !for i=0 to $q-1 |
31 | <tr><td $hdcolor>$(el$i)</td> |
31 | <tr><td $hdcolor>$(el$i)</td> |
32 | !for j=0 to $q-1 |
32 | !for j=0 to $q-1 |
33 | <td> |
33 | <td> |
34 | !if $field=prime |
34 | !if $field=prime |
35 | !set t=!eval ($i*$j)%$q |
35 | !set t=!eval ($i*$j)%$q |
36 | !else |
36 | !else |
37 | !set t=!item $i+1 of $(mul$j) |
37 | !set t=!item $i+1 of $(mul$j) |
38 | !endif |
38 | !endif |
39 | $(el$t) |
39 | $(el$t) |
40 | </td> |
40 | </td> |
41 | !next j |
41 | !next j |
42 | </tr> |
42 | </tr> |
43 | !next i |
43 | !next i |
44 | </table> |
44 | </table> |
45 | </li></ul> |
45 | </li></ul> |