Compare two revisions of: Expression Syntax For Generic Applets

... ... @@ -16,7 +16,8 @@ In the generic framework, there are predefined expressions for constants of func
16 16 |Theta | theta(arg) | theta(x)|
17 17 |Dirac delta function (1 for x = 0, 0 otherwise)| dirac(arg) | dirac(x)|
18 18 |Exponential function| exp(x) or e^x |exp(2*x)|
19 -|Real and imaginary part| re(arg), im(arg) | re(1+2*i), im (1-i) |
19 +
20 +If the [number field](number-field.md) is chosen to be *complex* or *complex-rational*, the imaginary unit is `i`, and there are the functions `re` and `im` for the real and imaginary part, e.g. `re(1+2*i)` and `im (1-i)`.
20 21
21 22 # Expression for conditions
22 23
23 24