summaryrefslogtreecommitdiff
path: root/shared-bindings/ulab/poly/__init__.pyi
blob: d051bbded4205564748f0ef4e422990d1f5583f6 (plain)
1
2
3
4
5
6
7
8
9
10
"""Polynomial functions"""

def polyfit(x, y, degree):
    """Return a polynomial of given degree that approximates the function
       f(x)=y.  If x is not supplied, it is the range(len(y))."""
    ...

def polyval(p, x):
    """Evaluate the polynomial p at the points x.  x must be an array."""
    ...