_polybase.pyi 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. import abc
  2. from typing import Any, List, ClassVar
  3. __all__: List[str]
  4. class ABCPolyBase(abc.ABC):
  5. __hash__: ClassVar[None] # type: ignore[assignment]
  6. __array_ufunc__: ClassVar[None]
  7. maxpower: ClassVar[int]
  8. coef: Any
  9. @property
  10. @abc.abstractmethod
  11. def domain(self): ...
  12. @property
  13. @abc.abstractmethod
  14. def window(self): ...
  15. @property
  16. @abc.abstractmethod
  17. def basis_name(self): ...
  18. def has_samecoef(self, other): ...
  19. def has_samedomain(self, other): ...
  20. def has_samewindow(self, other): ...
  21. def has_sametype(self, other): ...
  22. def __init__(self, coef, domain=..., window=...): ...
  23. def __format__(self, fmt_str): ...
  24. def __call__(self, arg): ...
  25. def __iter__(self): ...
  26. def __len__(self): ...
  27. def __neg__(self): ...
  28. def __pos__(self): ...
  29. def __add__(self, other): ...
  30. def __sub__(self, other): ...
  31. def __mul__(self, other): ...
  32. def __truediv__(self, other): ...
  33. def __floordiv__(self, other): ...
  34. def __mod__(self, other): ...
  35. def __divmod__(self, other): ...
  36. def __pow__(self, other): ...
  37. def __radd__(self, other): ...
  38. def __rsub__(self, other): ...
  39. def __rmul__(self, other): ...
  40. def __rdiv__(self, other): ...
  41. def __rtruediv__(self, other): ...
  42. def __rfloordiv__(self, other): ...
  43. def __rmod__(self, other): ...
  44. def __rdivmod__(self, other): ...
  45. def __eq__(self, other): ...
  46. def __ne__(self, other): ...
  47. def copy(self): ...
  48. def degree(self): ...
  49. def cutdeg(self, deg): ...
  50. def trim(self, tol=...): ...
  51. def truncate(self, size): ...
  52. def convert(self, domain=..., kind=..., window=...): ...
  53. def mapparms(self): ...
  54. def integ(self, m=..., k = ..., lbnd=...): ...
  55. def deriv(self, m=...): ...
  56. def roots(self): ...
  57. def linspace(self, n=..., domain=...): ...
  58. @classmethod
  59. def fit(cls, x, y, deg, domain=..., rcond=..., full=..., w=..., window=...): ...
  60. @classmethod
  61. def fromroots(cls, roots, domain = ..., window=...): ...
  62. @classmethod
  63. def identity(cls, domain=..., window=...): ...
  64. @classmethod
  65. def basis(cls, deg, domain=..., window=...): ...
  66. @classmethod
  67. def cast(cls, series, domain=..., window=...): ...