Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
ba42fd1
1
Parent(s):
e968e20
Update operators in docs
Browse files- docs/operators.md +9 -11
docs/operators.md
CHANGED
@@ -8,7 +8,7 @@ of these and other valid operators are stated below.
|
|
8 |
|
9 |
**Binary**
|
10 |
|
11 |
-
`plus`, `sub`, `mult`, `pow`, `div`, `greater`, `mod`, `
|
12 |
`logical_and`
|
13 |
|
14 |
**Unary**
|
@@ -18,22 +18,20 @@ of these and other valid operators are stated below.
|
|
18 |
`cube`,
|
19 |
`exp`,
|
20 |
`abs`,
|
21 |
-
`
|
22 |
-
`
|
23 |
-
`
|
24 |
-
`
|
25 |
-
`
|
26 |
`sin`,
|
27 |
`cos`,
|
28 |
`tan`,
|
29 |
`sinh`,
|
30 |
`cosh`,
|
31 |
`tanh`,
|
32 |
-
`asin`,
|
33 |
-
`acos`,
|
34 |
`atan`,
|
35 |
`asinh`,
|
36 |
-
`
|
37 |
`atanh`,
|
38 |
`erf`,
|
39 |
`erfc`,
|
@@ -66,7 +64,7 @@ for more complex functions. Make sure that it works with
|
|
66 |
instead of `1.5e3`, if you write any constant numbers.
|
67 |
|
68 |
Your operator should work with the entire real line (you can use
|
69 |
-
abs(x) - see `
|
70 |
-
the search code will
|
71 |
|
72 |
|
|
|
8 |
|
9 |
**Binary**
|
10 |
|
11 |
+
`plus`, `sub`, `mult`, `pow`, `div`, `greater`, `mod`, `logical_or`,
|
12 |
`logical_and`
|
13 |
|
14 |
**Unary**
|
|
|
18 |
`cube`,
|
19 |
`exp`,
|
20 |
`abs`,
|
21 |
+
`log_abs` (=log(abs(x) + 1e-8)),
|
22 |
+
`log10_abs`,
|
23 |
+
`log2_abs`,
|
24 |
+
`log1p_abs` (=log(abs(x) + 1)),
|
25 |
+
`sqrt_abs` (=sqrt(abs(x)))
|
26 |
`sin`,
|
27 |
`cos`,
|
28 |
`tan`,
|
29 |
`sinh`,
|
30 |
`cosh`,
|
31 |
`tanh`,
|
|
|
|
|
32 |
`atan`,
|
33 |
`asinh`,
|
34 |
+
`acosh_abs`,
|
35 |
`atanh`,
|
36 |
`erf`,
|
37 |
`erfc`,
|
|
|
64 |
instead of `1.5e3`, if you write any constant numbers.
|
65 |
|
66 |
Your operator should work with the entire real line (you can use
|
67 |
+
abs(x) for operators requiring positive input - see `log_abs`); otherwise
|
68 |
+
the search code will experience domain errors.
|
69 |
|
70 |
|