summaryrefslogtreecommitdiff
path: root/shared-bindings/ulab/approx/__init__.pyi
diff options
context:
space:
mode:
Diffstat (limited to 'shared-bindings/ulab/approx/__init__.pyi')
-rw-r--r--shared-bindings/ulab/approx/__init__.pyi5
1 files changed, 2 insertions, 3 deletions
diff --git a/shared-bindings/ulab/approx/__init__.pyi b/shared-bindings/ulab/approx/__init__.pyi
index 89f136f69..7e012690f 100644
--- a/shared-bindings/ulab/approx/__init__.pyi
+++ b/shared-bindings/ulab/approx/__init__.pyi
@@ -7,7 +7,7 @@ def bisect(fun, a, b, *, xtol=2.4e-7, maxiter=100) -> float:
:param float b: The right side of the interval
:param float xtol: The tolerance value
:param float maxiter: The maximum number of iterations to perform
-
+
Find a solution (zero) of the function ``f(x)`` on the interval
(``a``..``b``) using the bisection method. The result is accurate to within
``xtol`` unless more than ``maxiter`` steps are required."""
@@ -46,7 +46,6 @@ def interp(x: ulab.array, xp:ulab.array, fp:ulab.array, *, left=None, right=None
:param ulab.array fp: The y-coordinates of the data points, same length as xp
:param left: Value to return for ``x < xp[0]``, default is ``fp[0]``.
:param right: Value to return for ``x > xp[-1]``, default is ``fp[-1]``.
-
+
Returns the one-dimensional piecewise linear interpolant to a function with given discrete data points (xp, fp), evaluated at x."""
...
-