Rev 8077 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
535 | bpr | 1 | |
2 | <table border=3 align=left> |
||
3 | <tr><th colspan=$[$q+2]>$addtable</th> |
||
4 | <tr align=center><td $opcolor>+</td> |
||
5 | <td align=center rowspan=$[$q+2]> |
||
6 | !for j=0 to $q-1 |
||
7 | <td $hdcolor>$(el$j)</td> |
||
8 | !next j |
||
9 | <tr><td colspan=$[$q+1]></tr> |
||
10 | !for i=0 to $q-1 |
||
11 | <tr align=center><td $hdcolor>$(el$i) |
||
12 | !for j=0 to $q-1 |
||
13 | !if $field=prime |
||
14 | !set t=!eval ($i+$j)%$q |
||
15 | !else |
||
16 | !set t=!item $i+1 of $(add$j) |
||
17 | !endif |
||
18 | <td align=center>$(el$t)</td> |
||
19 | !next j |
||
20 | !next i |
||
21 | </table> |
||
22 | |||
23 | <table border=3> |
||
24 | <tr><th colspan=$[$q+2]>$multable</th> |
||
25 | <tr align=center><td $opcolor>*</td> |
||
26 | <td rowspan=$[$q+2]> |
||
27 | !for j=0 to $q-1 |
||
28 | <td $hdcolor>$(el$j) |
||
29 | !next j |
||
30 | <tr><td colspan=$[$q+1]></tr> |
||
31 | !for i=0 to $q-1 |
||
32 | <tr align=center><td $hdcolor>$(el$i) |
||
33 | !for j=0 to $q-1 |
||
34 | <td align=center> |
||
35 | !if $field=prime |
||
36 | !set t=!eval ($i*$j)%$q |
||
37 | !else |
||
38 | !set t=!item $i+1 of $(mul$j) |
||
39 | !endif |
||
40 | $(el$t) |
||
41 | !next j |
||
42 | !next i |
||
43 | </table> <p> <p> |
||
44 |