legendre.pyi 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. from typing import Any
  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. legtrim = trimcoef
  7. def poly2leg(pol): ...
  8. def leg2poly(c): ...
  9. legdomain: ndarray[Any, dtype[int_]]
  10. legzero: ndarray[Any, dtype[int_]]
  11. legone: ndarray[Any, dtype[int_]]
  12. legx: ndarray[Any, dtype[int_]]
  13. def legline(off, scl): ...
  14. def legfromroots(roots): ...
  15. def legadd(c1, c2): ...
  16. def legsub(c1, c2): ...
  17. def legmulx(c): ...
  18. def legmul(c1, c2): ...
  19. def legdiv(c1, c2): ...
  20. def legpow(c, pow, maxpower=...): ...
  21. def legder(c, m=..., scl=..., axis=...): ...
  22. def legint(c, m=..., k = ..., lbnd=..., scl=..., axis=...): ...
  23. def legval(x, c, tensor=...): ...
  24. def legval2d(x, y, c): ...
  25. def leggrid2d(x, y, c): ...
  26. def legval3d(x, y, z, c): ...
  27. def leggrid3d(x, y, z, c): ...
  28. def legvander(x, deg): ...
  29. def legvander2d(x, y, deg): ...
  30. def legvander3d(x, y, z, deg): ...
  31. def legfit(x, y, deg, rcond=..., full=..., w=...): ...
  32. def legcompanion(c): ...
  33. def legroots(c): ...
  34. def leggauss(deg): ...
  35. def legweight(x): ...
  36. class Legendre(ABCPolyBase):
  37. domain: Any
  38. window: Any
  39. basis_name: Any