summaryrefslogtreecommitdiff
path: root/shared-bindings/ulab/vector
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-07-22 14:02:26 -0500
committerJeff Epler <jepler@gmail.com>2020-07-28 16:57:48 -0500
commit9b8df7f6356aada4ce2cf89d24ea1cf635e9efe7 (patch)
treeb1cdff9e14688c209489d588f6e76accbd8423ad /shared-bindings/ulab/vector
parent6afbefc73919ebbed3a056bfdcf7f29a7e51e169 (diff)
Upgrade ulab
This version * moves source files to reflect module structure * adds inline documentation suitable for extract_pyi * incompatibly moves spectrogram to fft * incompatibly removes "extras" There are some remaining markup errors in the specific revision of extmod/ulab but they do not prevent the doc building process from completing.
Diffstat (limited to 'shared-bindings/ulab/vector')
-rw-r--r--shared-bindings/ulab/vector/__init__.pyi118
1 files changed, 0 insertions, 118 deletions
diff --git a/shared-bindings/ulab/vector/__init__.pyi b/shared-bindings/ulab/vector/__init__.pyi
deleted file mode 100644
index bf57e419c..000000000
--- a/shared-bindings/ulab/vector/__init__.pyi
+++ /dev/null
@@ -1,118 +0,0 @@
-"""Element-by-element functions
-
-These functions can operate on numbers, 1-D arrays, or 2-D arrays by
-applying the function to every element in the array. This is typically
-much more efficient than expressing the same operation as a Python loop."""
-
-def acos():
- """Computes the inverse cosine function"""
- ...
-
-def acosh():
- """Computes the inverse hyperbolic cosine function"""
- ...
-
-def asin():
- """Computes the inverse sine function"""
- ...
-
-def asinh():
- """Computes the inverse hyperbolic sine function"""
- ...
-
-def around(a, *, decimals):
- """Returns a new float array in which each element is rounded to
- ``decimals`` places."""
- ...
-
-def atan():
- """Computes the inverse tangent function; the return values are in the
- range [-pi/2,pi/2]."""
- ...
-
-def atan2(y,x):
- """Computes the inverse tangent function of y/x; the return values are in
- the range [-pi, pi]."""
- ...
-
-def atanh():
- """Computes the inverse hyperbolic tangent function"""
- ...
-
-def ceil():
- """Rounds numbers up to the next whole number"""
- ...
-
-def cos():
- """Computes the cosine function"""
- ...
-
-def erf():
- """Computes the error function, which has applications in statistics"""
- ...
-
-def erfc():
- """Computes the complementary error function, which has applications in statistics"""
- ...
-
-def exp():
- """Computes the exponent function."""
- ...
-
-def expm1():
- """Computes $e^x-1$. In certain applications, using this function preserves numeric accuracy better than the `exp` function."""
- ...
-
-def floor():
- """Rounds numbers up to the next whole number"""
- ...
-
-def gamma():
- """Computes the gamma function"""
- ...
-
-def lgamma():
- """Computes the natural log of the gamma function"""
- ...
-
-def log():
- """Computes the natural log"""
- ...
-
-def log10():
- """Computes the log base 10"""
- ...
-
-def log2():
- """Computes the log base 2"""
- ...
-
-def sin():
- """Computes the sine"""
- ...
-
-def sinh():
- """Computes the hyperbolic sine"""
- ...
-
-def sqrt():
- """Computes the square root"""
- ...
-
-def tan():
- """Computes the tangent"""
- ...
-
-def tanh():
- """Computes the hyperbolic tangent"""
- ...
-
-def vectorize(f, *, otypes=None):
- """
- :param callable f: The function to wrap
- :param otypes: List of array types that may be returned by the function. None is intepreted to mean the return value is float.
-
- Wrap a Python function ``f`` so that it can be applied to arrays.
-
- The callable must return only values of the types specified by otypes, or the result is undefined."""
- ...