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