Subversion Repositories wimsdev

Rev

Rev 535 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1.  
  2. !if $found = yes
  3.   <table class="wimsnoborder wimscenter">
  4.   !for i = 1 to 2
  5.     <tr>
  6.     !if $i = 1
  7.       <td rowspan="2">
  8.     !insmath \begin{pmatrix}x\\y\end{pmatrix}\longmapsto\bigg(
  9.     !endif
  10.     !for j = 1 to 2
  11.       <td>$(el$(r$i$j))</td>
  12.     !next j
  13.     !if $i = 1
  14.       <td rowspan=2>
  15.     !insmath \bigg)\cdot \begin{pmatrix}x\\y\end{pmatrix} +\bigg(
  16.     !endif
  17.     <td>
  18.     !set t=!word $i of $xr $yr
  19.     $(el$t)
  20.     </td>
  21.     !if $i = 1
  22.       <td rowspan="2">
  23.       !insmath \bigg)
  24.     !endif
  25.   !next i
  26.   </table>
  27.  
  28. !else found != yes
  29.   <table class="wimsnoborder wimscenter">
  30.   !for i = 1 to 2
  31.     <tr>
  32.     !if $i = 1
  33.       <td rowspan="2">
  34.       !insmath \begin{pmatrix}x\\y\end{pmatrix} \longmapsto\bigg(
  35.     !endif
  36.     !for j = 1 to 2
  37.       <td><select name="r$i$j">
  38.       !for s = 0 to $q-1
  39.         <option value="$s"
  40.         !ifval $s=$(r$i$j)
  41.           selected="selected"
  42.         !endif
  43.         >$(el$s)
  44.         </option>
  45.       !next s
  46.       </select></td>
  47.     !next j
  48.     !if $i = 1
  49.   <td rowspan="2">
  50.   !insmath \bigg)\cdot \begin{pmatrix}x\\y\end{pmatrix} +\bigg(
  51.     !endif
  52.     !set j = !word $i of xr yr
  53.     <td><select name="$j">
  54.     !for s = 0 to $q-1
  55.       <option value="$s"
  56.       !ifval $s=$($j)
  57.        selected="selected"
  58.       !endif
  59.       >$(el$s)
  60.       </option>
  61.     !next s
  62.     </select></td>
  63.     !if $i = 1
  64.       <td rowspan="2">
  65.       !insmath \bigg)
  66.     !endif
  67.   !next i
  68.   </table>
  69.  
  70. !endif found =? yes
  71.