_polybase.pyi 2.3 KB

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