| ... |
... |
@@ -38,15 +38,3 @@ It is basically a relation between the values of two Operations or function from |
| 38 |
38 |
|AND | [cond1] AND [cond2] | [x>0] AND [x<3] | | |
| 39 |
39 |
|OR | [cond1] OR [cond2] | [x<0] OR [x>3] | | |
| 40 |
40 |
|
| 41 |
|
-# Special syntax in a generic visualization: var() |
| 42 |
|
- |
| 43 |
|
-In a generic visualization, `var(arg)` can be used in operations or conditions and it will be replaced by the value of |
| 44 |
|
-the variable with the name arg. Remember to write var as a function `var(x)` and *not* as a Tex-command \var{x}. |
| 45 |
|
- |
| 46 |
|
-```LaTeX |
| 47 |
|
- \begin{variables} |
| 48 |
|
- \randint{x}{-5}{5} %create two random integers |
| 49 |
|
- \randint{y}{-5}{5} |
| 50 |
|
- \point{p1}{real}{var(x),var(y)} %creates a point on (x,y) depending on the values of x and y. |
| 51 |
|
- \end{variables} |
| 52 |
|
-``` |
| 53 |
41 |
|