Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
eb6195b
1
Parent(s):
d39c0a6
Document `max` and `min`
Browse files- docs/operators.md +3 -1
docs/operators.md
CHANGED
@@ -14,6 +14,9 @@ A selection of these and other valid operators are stated below.
|
|
14 |
- `*`
|
15 |
- `/`
|
16 |
- `^`
|
|
|
|
|
|
|
17 |
- `cond`
|
18 |
- Equal to `(x, y) -> x > 0 ? y : 0`
|
19 |
- `greater`
|
@@ -22,7 +25,6 @@ A selection of these and other valid operators are stated below.
|
|
22 |
- Equal to `(x, y) -> (x > 0 || y > 0) ? 1 : 0`
|
23 |
- `logical_and`
|
24 |
- Equal to `(x, y) -> (x > 0 && y > 0) ? 1 : 0`
|
25 |
-
- `mod`
|
26 |
|
27 |
**Unary**
|
28 |
|
|
|
14 |
- `*`
|
15 |
- `/`
|
16 |
- `^`
|
17 |
+
- `max`
|
18 |
+
- `min`
|
19 |
+
- `mod`
|
20 |
- `cond`
|
21 |
- Equal to `(x, y) -> x > 0 ? y : 0`
|
22 |
- `greater`
|
|
|
25 |
- Equal to `(x, y) -> (x > 0 || y > 0) ? 1 : 0`
|
26 |
- `logical_and`
|
27 |
- Equal to `(x, y) -> (x > 0 && y > 0) ? 1 : 0`
|
|
|
28 |
|
29 |
**Unary**
|
30 |
|