docs: autogenerate the list of supported functions

closes #410
This commit is contained in:
Benoit Chevallier-Mames
2021-10-15 15:40:02 +02:00
committed by Benoit Chevallier
parent 9571ad8e78
commit a8aafcb70a
3 changed files with 180 additions and 34 deletions

View File

@@ -27,37 +27,89 @@ circuit.run(60) == 58
The following operations are supported in the latest release, and we'll add more operations in the upcoming releases.
- np.arccos
- np.arccosh
- np.arcsin
- np.arcsinh
- np.arctan
- np.arctanh
- np.cbrt
- np.ceil
- np.cos
- np.cosh
- np.deg2rad
- np.degrees
- np.exp
- np.exp2
- np.expm1
- np.fabs
- np.floor
- np.log
- np.log10
- np.log1p
- np.log2
- np.rad2deg
- np.radians
- np.rint
- np.sin
- np.sinh
- np.spacing
- np.sqrt
- np.tan
- np.tanh
- np.trunc
<!--- gen_supported_ufuncs.py: inject supported operations [BEGIN] -->
<!--- do not edit, auto generated part by `python3 gen_supported_ufuncs.py` in docker -->
List of supported unary functions:
- absolute
- arccos
- arccosh
- arcsin
- arcsinh
- arctan
- arctanh
- cbrt
- ceil
- cos
- cosh
- deg2rad
- degrees
- exp
- exp2
- expm1
- fabs
- floor
- invert
- isfinite
- isinf
- isnan
- log
- log10
- log1p
- log2
- logical_not
- negative
- positive
- rad2deg
- radians
- reciprocal
- rint
- sign
- signbit
- sin
- sinh
- spacing
- sqrt
- square
- tan
- tanh
- trunc
List of supported binary functions if one of the two operators is a constant scalar:
- arctan2
- bitwise_and
- bitwise_or
- bitwise_xor
- copysign
- equal
- float_power
- floor_divide
- fmax
- fmin
- fmod
- gcd
- greater
- greater_equal
- heaviside
- hypot
- lcm
- ldexp
- left_shift
- less
- less_equal
- logaddexp
- logaddexp2
- logical_and
- logical_or
- logical_xor
- maximum
- minimum
- nextafter
- not_equal
- power
- remainder
- right_shift
- true_divide
<!--- gen_supported_ufuncs.py: inject supported operations [END] -->
## Limitations