polynomial.pyi 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. from typing import Any, List
  2. from numpy import ndarray, dtype, int_
  3. from numpy.polynomial._polybase import ABCPolyBase
  4. from numpy.polynomial.polyutils import trimcoef
  5. __all__: list[str]
  6. polytrim = trimcoef
  7. polydomain: ndarray[Any, dtype[int_]]
  8. polyzero: ndarray[Any, dtype[int_]]
  9. polyone: ndarray[Any, dtype[int_]]
  10. polyx: ndarray[Any, dtype[int_]]
  11. def polyline(off, scl): ...
  12. def polyfromroots(roots): ...
  13. def polyadd(c1, c2): ...
  14. def polysub(c1, c2): ...
  15. def polymulx(c): ...
  16. def polymul(c1, c2): ...
  17. def polydiv(c1, c2): ...
  18. def polypow(c, pow, maxpower=...): ...
  19. def polyder(c, m=..., scl=..., axis=...): ...
  20. def polyint(c, m=..., k=..., lbnd=..., scl=..., axis=...): ...
  21. def polyval(x, c, tensor=...): ...
  22. def polyvalfromroots(x, r, tensor=...): ...
  23. def polyval2d(x, y, c): ...
  24. def polygrid2d(x, y, c): ...
  25. def polyval3d(x, y, z, c): ...
  26. def polygrid3d(x, y, z, c): ...
  27. def polyvander(x, deg): ...
  28. def polyvander2d(x, y, deg): ...
  29. def polyvander3d(x, y, z, deg): ...
  30. def polyfit(x, y, deg, rcond=..., full=..., w=...): ...
  31. def polyroots(c): ...
  32. class Polynomial(ABCPolyBase):
  33. domain: Any
  34. window: Any
  35. basis_name: Any