Initial configuration commit
This commit is contained in:
commit
31c8abea59
266 changed files with 780274 additions and 0 deletions
19
typings/numpy/polynomial/__init__.pyi
Normal file
19
typings/numpy/polynomial/__init__.pyi
Normal file
|
@ -0,0 +1,19 @@
|
|||
"""
|
||||
This type stub file was generated by pyright.
|
||||
"""
|
||||
|
||||
from numpy._pytesttester import PytestTester
|
||||
from numpy.polynomial import chebyshev as chebyshev, hermite as hermite, hermite_e as hermite_e, laguerre as laguerre, legendre as legendre, polynomial as polynomial
|
||||
from numpy.polynomial.chebyshev import Chebyshev as Chebyshev
|
||||
from numpy.polynomial.hermite import Hermite as Hermite
|
||||
from numpy.polynomial.hermite_e import HermiteE as HermiteE
|
||||
from numpy.polynomial.laguerre import Laguerre as Laguerre
|
||||
from numpy.polynomial.legendre import Legendre as Legendre
|
||||
from numpy.polynomial.polynomial import Polynomial as Polynomial
|
||||
|
||||
__all__: list[str]
|
||||
__path__: list[str]
|
||||
test: PytestTester
|
||||
def set_default_printstyle(style):
|
||||
...
|
||||
|
174
typings/numpy/polynomial/_polybase.pyi
Normal file
174
typings/numpy/polynomial/_polybase.pyi
Normal file
|
@ -0,0 +1,174 @@
|
|||
"""
|
||||
This type stub file was generated by pyright.
|
||||
"""
|
||||
|
||||
import abc
|
||||
from typing import Any, ClassVar
|
||||
|
||||
__all__: list[str]
|
||||
class ABCPolyBase(abc.ABC):
|
||||
__hash__: ClassVar[None]
|
||||
__array_ufunc__: ClassVar[None]
|
||||
maxpower: ClassVar[int]
|
||||
coef: Any
|
||||
@property
|
||||
def symbol(self) -> str:
|
||||
...
|
||||
|
||||
@property
|
||||
@abc.abstractmethod
|
||||
def domain(self):
|
||||
...
|
||||
|
||||
@property
|
||||
@abc.abstractmethod
|
||||
def window(self):
|
||||
...
|
||||
|
||||
@property
|
||||
@abc.abstractmethod
|
||||
def basis_name(self):
|
||||
...
|
||||
|
||||
def has_samecoef(self, other):
|
||||
...
|
||||
|
||||
def has_samedomain(self, other):
|
||||
...
|
||||
|
||||
def has_samewindow(self, other):
|
||||
...
|
||||
|
||||
def has_sametype(self, other):
|
||||
...
|
||||
|
||||
def __init__(self, coef, domain=..., window=..., symbol: str = ...) -> None:
|
||||
...
|
||||
|
||||
def __format__(self, fmt_str):
|
||||
...
|
||||
|
||||
def __call__(self, arg):
|
||||
...
|
||||
|
||||
def __iter__(self):
|
||||
...
|
||||
|
||||
def __len__(self):
|
||||
...
|
||||
|
||||
def __neg__(self):
|
||||
...
|
||||
|
||||
def __pos__(self):
|
||||
...
|
||||
|
||||
def __add__(self, other):
|
||||
...
|
||||
|
||||
def __sub__(self, other):
|
||||
...
|
||||
|
||||
def __mul__(self, other):
|
||||
...
|
||||
|
||||
def __truediv__(self, other):
|
||||
...
|
||||
|
||||
def __floordiv__(self, other):
|
||||
...
|
||||
|
||||
def __mod__(self, other):
|
||||
...
|
||||
|
||||
def __divmod__(self, other):
|
||||
...
|
||||
|
||||
def __pow__(self, other):
|
||||
...
|
||||
|
||||
def __radd__(self, other):
|
||||
...
|
||||
|
||||
def __rsub__(self, other):
|
||||
...
|
||||
|
||||
def __rmul__(self, other):
|
||||
...
|
||||
|
||||
def __rdiv__(self, other):
|
||||
...
|
||||
|
||||
def __rtruediv__(self, other):
|
||||
...
|
||||
|
||||
def __rfloordiv__(self, other):
|
||||
...
|
||||
|
||||
def __rmod__(self, other):
|
||||
...
|
||||
|
||||
def __rdivmod__(self, other):
|
||||
...
|
||||
|
||||
def __eq__(self, other) -> bool:
|
||||
...
|
||||
|
||||
def __ne__(self, other) -> bool:
|
||||
...
|
||||
|
||||
def copy(self):
|
||||
...
|
||||
|
||||
def degree(self):
|
||||
...
|
||||
|
||||
def cutdeg(self, deg):
|
||||
...
|
||||
|
||||
def trim(self, tol=...):
|
||||
...
|
||||
|
||||
def truncate(self, size):
|
||||
...
|
||||
|
||||
def convert(self, domain=..., kind=..., window=...):
|
||||
...
|
||||
|
||||
def mapparms(self):
|
||||
...
|
||||
|
||||
def integ(self, m=..., k=..., lbnd=...):
|
||||
...
|
||||
|
||||
def deriv(self, m=...):
|
||||
...
|
||||
|
||||
def roots(self):
|
||||
...
|
||||
|
||||
def linspace(self, n=..., domain=...):
|
||||
...
|
||||
|
||||
@classmethod
|
||||
def fit(cls, x, y, deg, domain=..., rcond=..., full=..., w=..., window=...):
|
||||
...
|
||||
|
||||
@classmethod
|
||||
def fromroots(cls, roots, domain=..., window=...):
|
||||
...
|
||||
|
||||
@classmethod
|
||||
def identity(cls, domain=..., window=...):
|
||||
...
|
||||
|
||||
@classmethod
|
||||
def basis(cls, deg, domain=..., window=...):
|
||||
...
|
||||
|
||||
@classmethod
|
||||
def cast(cls, series, domain=..., window=...):
|
||||
...
|
||||
|
||||
|
||||
|
108
typings/numpy/polynomial/chebyshev.pyi
Normal file
108
typings/numpy/polynomial/chebyshev.pyi
Normal file
|
@ -0,0 +1,108 @@
|
|||
"""
|
||||
This type stub file was generated by pyright.
|
||||
"""
|
||||
|
||||
from typing import Any
|
||||
from numpy import dtype, int_, ndarray
|
||||
from numpy.polynomial._polybase import ABCPolyBase
|
||||
|
||||
__all__: list[str]
|
||||
chebtrim = ...
|
||||
def poly2cheb(pol):
|
||||
...
|
||||
|
||||
def cheb2poly(c):
|
||||
...
|
||||
|
||||
chebdomain: ndarray[Any, dtype[int_]]
|
||||
chebzero: ndarray[Any, dtype[int_]]
|
||||
chebone: ndarray[Any, dtype[int_]]
|
||||
chebx: ndarray[Any, dtype[int_]]
|
||||
def chebline(off, scl):
|
||||
...
|
||||
|
||||
def chebfromroots(roots):
|
||||
...
|
||||
|
||||
def chebadd(c1, c2):
|
||||
...
|
||||
|
||||
def chebsub(c1, c2):
|
||||
...
|
||||
|
||||
def chebmulx(c):
|
||||
...
|
||||
|
||||
def chebmul(c1, c2):
|
||||
...
|
||||
|
||||
def chebdiv(c1, c2):
|
||||
...
|
||||
|
||||
def chebpow(c, pow, maxpower=...):
|
||||
...
|
||||
|
||||
def chebder(c, m=..., scl=..., axis=...):
|
||||
...
|
||||
|
||||
def chebint(c, m=..., k=..., lbnd=..., scl=..., axis=...):
|
||||
...
|
||||
|
||||
def chebval(x, c, tensor=...):
|
||||
...
|
||||
|
||||
def chebval2d(x, y, c):
|
||||
...
|
||||
|
||||
def chebgrid2d(x, y, c):
|
||||
...
|
||||
|
||||
def chebval3d(x, y, z, c):
|
||||
...
|
||||
|
||||
def chebgrid3d(x, y, z, c):
|
||||
...
|
||||
|
||||
def chebvander(x, deg):
|
||||
...
|
||||
|
||||
def chebvander2d(x, y, deg):
|
||||
...
|
||||
|
||||
def chebvander3d(x, y, z, deg):
|
||||
...
|
||||
|
||||
def chebfit(x, y, deg, rcond=..., full=..., w=...):
|
||||
...
|
||||
|
||||
def chebcompanion(c):
|
||||
...
|
||||
|
||||
def chebroots(c):
|
||||
...
|
||||
|
||||
def chebinterpolate(func, deg, args=...):
|
||||
...
|
||||
|
||||
def chebgauss(deg):
|
||||
...
|
||||
|
||||
def chebweight(x):
|
||||
...
|
||||
|
||||
def chebpts1(npts):
|
||||
...
|
||||
|
||||
def chebpts2(npts):
|
||||
...
|
||||
|
||||
class Chebyshev(ABCPolyBase):
|
||||
@classmethod
|
||||
def interpolate(cls, func, deg, domain=..., args=...):
|
||||
...
|
||||
|
||||
domain: Any
|
||||
window: Any
|
||||
basis_name: Any
|
||||
|
||||
|
96
typings/numpy/polynomial/hermite.pyi
Normal file
96
typings/numpy/polynomial/hermite.pyi
Normal file
|
@ -0,0 +1,96 @@
|
|||
"""
|
||||
This type stub file was generated by pyright.
|
||||
"""
|
||||
|
||||
from typing import Any
|
||||
from numpy import dtype, float_, int_, ndarray
|
||||
from numpy.polynomial._polybase import ABCPolyBase
|
||||
|
||||
__all__: list[str]
|
||||
hermtrim = ...
|
||||
def poly2herm(pol):
|
||||
...
|
||||
|
||||
def herm2poly(c):
|
||||
...
|
||||
|
||||
hermdomain: ndarray[Any, dtype[int_]]
|
||||
hermzero: ndarray[Any, dtype[int_]]
|
||||
hermone: ndarray[Any, dtype[int_]]
|
||||
hermx: ndarray[Any, dtype[float_]]
|
||||
def hermline(off, scl):
|
||||
...
|
||||
|
||||
def hermfromroots(roots):
|
||||
...
|
||||
|
||||
def hermadd(c1, c2):
|
||||
...
|
||||
|
||||
def hermsub(c1, c2):
|
||||
...
|
||||
|
||||
def hermmulx(c):
|
||||
...
|
||||
|
||||
def hermmul(c1, c2):
|
||||
...
|
||||
|
||||
def hermdiv(c1, c2):
|
||||
...
|
||||
|
||||
def hermpow(c, pow, maxpower=...):
|
||||
...
|
||||
|
||||
def hermder(c, m=..., scl=..., axis=...):
|
||||
...
|
||||
|
||||
def hermint(c, m=..., k=..., lbnd=..., scl=..., axis=...):
|
||||
...
|
||||
|
||||
def hermval(x, c, tensor=...):
|
||||
...
|
||||
|
||||
def hermval2d(x, y, c):
|
||||
...
|
||||
|
||||
def hermgrid2d(x, y, c):
|
||||
...
|
||||
|
||||
def hermval3d(x, y, z, c):
|
||||
...
|
||||
|
||||
def hermgrid3d(x, y, z, c):
|
||||
...
|
||||
|
||||
def hermvander(x, deg):
|
||||
...
|
||||
|
||||
def hermvander2d(x, y, deg):
|
||||
...
|
||||
|
||||
def hermvander3d(x, y, z, deg):
|
||||
...
|
||||
|
||||
def hermfit(x, y, deg, rcond=..., full=..., w=...):
|
||||
...
|
||||
|
||||
def hermcompanion(c):
|
||||
...
|
||||
|
||||
def hermroots(c):
|
||||
...
|
||||
|
||||
def hermgauss(deg):
|
||||
...
|
||||
|
||||
def hermweight(x):
|
||||
...
|
||||
|
||||
class Hermite(ABCPolyBase):
|
||||
domain: Any
|
||||
window: Any
|
||||
basis_name: Any
|
||||
...
|
||||
|
||||
|
96
typings/numpy/polynomial/hermite_e.pyi
Normal file
96
typings/numpy/polynomial/hermite_e.pyi
Normal file
|
@ -0,0 +1,96 @@
|
|||
"""
|
||||
This type stub file was generated by pyright.
|
||||
"""
|
||||
|
||||
from typing import Any
|
||||
from numpy import dtype, int_, ndarray
|
||||
from numpy.polynomial._polybase import ABCPolyBase
|
||||
|
||||
__all__: list[str]
|
||||
hermetrim = ...
|
||||
def poly2herme(pol):
|
||||
...
|
||||
|
||||
def herme2poly(c):
|
||||
...
|
||||
|
||||
hermedomain: ndarray[Any, dtype[int_]]
|
||||
hermezero: ndarray[Any, dtype[int_]]
|
||||
hermeone: ndarray[Any, dtype[int_]]
|
||||
hermex: ndarray[Any, dtype[int_]]
|
||||
def hermeline(off, scl):
|
||||
...
|
||||
|
||||
def hermefromroots(roots):
|
||||
...
|
||||
|
||||
def hermeadd(c1, c2):
|
||||
...
|
||||
|
||||
def hermesub(c1, c2):
|
||||
...
|
||||
|
||||
def hermemulx(c):
|
||||
...
|
||||
|
||||
def hermemul(c1, c2):
|
||||
...
|
||||
|
||||
def hermediv(c1, c2):
|
||||
...
|
||||
|
||||
def hermepow(c, pow, maxpower=...):
|
||||
...
|
||||
|
||||
def hermeder(c, m=..., scl=..., axis=...):
|
||||
...
|
||||
|
||||
def hermeint(c, m=..., k=..., lbnd=..., scl=..., axis=...):
|
||||
...
|
||||
|
||||
def hermeval(x, c, tensor=...):
|
||||
...
|
||||
|
||||
def hermeval2d(x, y, c):
|
||||
...
|
||||
|
||||
def hermegrid2d(x, y, c):
|
||||
...
|
||||
|
||||
def hermeval3d(x, y, z, c):
|
||||
...
|
||||
|
||||
def hermegrid3d(x, y, z, c):
|
||||
...
|
||||
|
||||
def hermevander(x, deg):
|
||||
...
|
||||
|
||||
def hermevander2d(x, y, deg):
|
||||
...
|
||||
|
||||
def hermevander3d(x, y, z, deg):
|
||||
...
|
||||
|
||||
def hermefit(x, y, deg, rcond=..., full=..., w=...):
|
||||
...
|
||||
|
||||
def hermecompanion(c):
|
||||
...
|
||||
|
||||
def hermeroots(c):
|
||||
...
|
||||
|
||||
def hermegauss(deg):
|
||||
...
|
||||
|
||||
def hermeweight(x):
|
||||
...
|
||||
|
||||
class HermiteE(ABCPolyBase):
|
||||
domain: Any
|
||||
window: Any
|
||||
basis_name: Any
|
||||
...
|
||||
|
||||
|
96
typings/numpy/polynomial/laguerre.pyi
Normal file
96
typings/numpy/polynomial/laguerre.pyi
Normal file
|
@ -0,0 +1,96 @@
|
|||
"""
|
||||
This type stub file was generated by pyright.
|
||||
"""
|
||||
|
||||
from typing import Any
|
||||
from numpy import dtype, int_, ndarray
|
||||
from numpy.polynomial._polybase import ABCPolyBase
|
||||
|
||||
__all__: list[str]
|
||||
lagtrim = ...
|
||||
def poly2lag(pol):
|
||||
...
|
||||
|
||||
def lag2poly(c):
|
||||
...
|
||||
|
||||
lagdomain: ndarray[Any, dtype[int_]]
|
||||
lagzero: ndarray[Any, dtype[int_]]
|
||||
lagone: ndarray[Any, dtype[int_]]
|
||||
lagx: ndarray[Any, dtype[int_]]
|
||||
def lagline(off, scl):
|
||||
...
|
||||
|
||||
def lagfromroots(roots):
|
||||
...
|
||||
|
||||
def lagadd(c1, c2):
|
||||
...
|
||||
|
||||
def lagsub(c1, c2):
|
||||
...
|
||||
|
||||
def lagmulx(c):
|
||||
...
|
||||
|
||||
def lagmul(c1, c2):
|
||||
...
|
||||
|
||||
def lagdiv(c1, c2):
|
||||
...
|
||||
|
||||
def lagpow(c, pow, maxpower=...):
|
||||
...
|
||||
|
||||
def lagder(c, m=..., scl=..., axis=...):
|
||||
...
|
||||
|
||||
def lagint(c, m=..., k=..., lbnd=..., scl=..., axis=...):
|
||||
...
|
||||
|
||||
def lagval(x, c, tensor=...):
|
||||
...
|
||||
|
||||
def lagval2d(x, y, c):
|
||||
...
|
||||
|
||||
def laggrid2d(x, y, c):
|
||||
...
|
||||
|
||||
def lagval3d(x, y, z, c):
|
||||
...
|
||||
|
||||
def laggrid3d(x, y, z, c):
|
||||
...
|
||||
|
||||
def lagvander(x, deg):
|
||||
...
|
||||
|
||||
def lagvander2d(x, y, deg):
|
||||
...
|
||||
|
||||
def lagvander3d(x, y, z, deg):
|
||||
...
|
||||
|
||||
def lagfit(x, y, deg, rcond=..., full=..., w=...):
|
||||
...
|
||||
|
||||
def lagcompanion(c):
|
||||
...
|
||||
|
||||
def lagroots(c):
|
||||
...
|
||||
|
||||
def laggauss(deg):
|
||||
...
|
||||
|
||||
def lagweight(x):
|
||||
...
|
||||
|
||||
class Laguerre(ABCPolyBase):
|
||||
domain: Any
|
||||
window: Any
|
||||
basis_name: Any
|
||||
...
|
||||
|
||||
|
96
typings/numpy/polynomial/legendre.pyi
Normal file
96
typings/numpy/polynomial/legendre.pyi
Normal file
|
@ -0,0 +1,96 @@
|
|||
"""
|
||||
This type stub file was generated by pyright.
|
||||
"""
|
||||
|
||||
from typing import Any
|
||||
from numpy import dtype, int_, ndarray
|
||||
from numpy.polynomial._polybase import ABCPolyBase
|
||||
|
||||
__all__: list[str]
|
||||
legtrim = ...
|
||||
def poly2leg(pol):
|
||||
...
|
||||
|
||||
def leg2poly(c):
|
||||
...
|
||||
|
||||
legdomain: ndarray[Any, dtype[int_]]
|
||||
legzero: ndarray[Any, dtype[int_]]
|
||||
legone: ndarray[Any, dtype[int_]]
|
||||
legx: ndarray[Any, dtype[int_]]
|
||||
def legline(off, scl):
|
||||
...
|
||||
|
||||
def legfromroots(roots):
|
||||
...
|
||||
|
||||
def legadd(c1, c2):
|
||||
...
|
||||
|
||||
def legsub(c1, c2):
|
||||
...
|
||||
|
||||
def legmulx(c):
|
||||
...
|
||||
|
||||
def legmul(c1, c2):
|
||||
...
|
||||
|
||||
def legdiv(c1, c2):
|
||||
...
|
||||
|
||||
def legpow(c, pow, maxpower=...):
|
||||
...
|
||||
|
||||
def legder(c, m=..., scl=..., axis=...):
|
||||
...
|
||||
|
||||
def legint(c, m=..., k=..., lbnd=..., scl=..., axis=...):
|
||||
...
|
||||
|
||||
def legval(x, c, tensor=...):
|
||||
...
|
||||
|
||||
def legval2d(x, y, c):
|
||||
...
|
||||
|
||||
def leggrid2d(x, y, c):
|
||||
...
|
||||
|
||||
def legval3d(x, y, z, c):
|
||||
...
|
||||
|
||||
def leggrid3d(x, y, z, c):
|
||||
...
|
||||
|
||||
def legvander(x, deg):
|
||||
...
|
||||
|
||||
def legvander2d(x, y, deg):
|
||||
...
|
||||
|
||||
def legvander3d(x, y, z, deg):
|
||||
...
|
||||
|
||||
def legfit(x, y, deg, rcond=..., full=..., w=...):
|
||||
...
|
||||
|
||||
def legcompanion(c):
|
||||
...
|
||||
|
||||
def legroots(c):
|
||||
...
|
||||
|
||||
def leggauss(deg):
|
||||
...
|
||||
|
||||
def legweight(x):
|
||||
...
|
||||
|
||||
class Legendre(ABCPolyBase):
|
||||
domain: Any
|
||||
window: Any
|
||||
basis_name: Any
|
||||
...
|
||||
|
||||
|
84
typings/numpy/polynomial/polynomial.pyi
Normal file
84
typings/numpy/polynomial/polynomial.pyi
Normal file
|
@ -0,0 +1,84 @@
|
|||
"""
|
||||
This type stub file was generated by pyright.
|
||||
"""
|
||||
|
||||
from typing import Any
|
||||
from numpy import dtype, int_, ndarray
|
||||
from numpy.polynomial._polybase import ABCPolyBase
|
||||
|
||||
__all__: list[str]
|
||||
polytrim = ...
|
||||
polydomain: ndarray[Any, dtype[int_]]
|
||||
polyzero: ndarray[Any, dtype[int_]]
|
||||
polyone: ndarray[Any, dtype[int_]]
|
||||
polyx: ndarray[Any, dtype[int_]]
|
||||
def polyline(off, scl):
|
||||
...
|
||||
|
||||
def polyfromroots(roots):
|
||||
...
|
||||
|
||||
def polyadd(c1, c2):
|
||||
...
|
||||
|
||||
def polysub(c1, c2):
|
||||
...
|
||||
|
||||
def polymulx(c):
|
||||
...
|
||||
|
||||
def polymul(c1, c2):
|
||||
...
|
||||
|
||||
def polydiv(c1, c2):
|
||||
...
|
||||
|
||||
def polypow(c, pow, maxpower=...):
|
||||
...
|
||||
|
||||
def polyder(c, m=..., scl=..., axis=...):
|
||||
...
|
||||
|
||||
def polyint(c, m=..., k=..., lbnd=..., scl=..., axis=...):
|
||||
...
|
||||
|
||||
def polyval(x, c, tensor=...):
|
||||
...
|
||||
|
||||
def polyvalfromroots(x, r, tensor=...):
|
||||
...
|
||||
|
||||
def polyval2d(x, y, c):
|
||||
...
|
||||
|
||||
def polygrid2d(x, y, c):
|
||||
...
|
||||
|
||||
def polyval3d(x, y, z, c):
|
||||
...
|
||||
|
||||
def polygrid3d(x, y, z, c):
|
||||
...
|
||||
|
||||
def polyvander(x, deg):
|
||||
...
|
||||
|
||||
def polyvander2d(x, y, deg):
|
||||
...
|
||||
|
||||
def polyvander3d(x, y, z, deg):
|
||||
...
|
||||
|
||||
def polyfit(x, y, deg, rcond=..., full=..., w=...):
|
||||
...
|
||||
|
||||
def polyroots(c):
|
||||
...
|
||||
|
||||
class Polynomial(ABCPolyBase):
|
||||
domain: Any
|
||||
window: Any
|
||||
basis_name: Any
|
||||
...
|
||||
|
||||
|
30
typings/numpy/polynomial/polyutils.pyi
Normal file
30
typings/numpy/polynomial/polyutils.pyi
Normal file
|
@ -0,0 +1,30 @@
|
|||
"""
|
||||
This type stub file was generated by pyright.
|
||||
"""
|
||||
|
||||
__all__: list[str]
|
||||
class RankWarning(UserWarning):
|
||||
...
|
||||
|
||||
|
||||
def trimseq(seq):
|
||||
...
|
||||
|
||||
def as_series(alist, trim=...):
|
||||
...
|
||||
|
||||
def trimcoef(c, tol=...):
|
||||
...
|
||||
|
||||
def getdomain(x):
|
||||
...
|
||||
|
||||
def mapparms(old, new):
|
||||
...
|
||||
|
||||
def mapdomain(x, old, new):
|
||||
...
|
||||
|
||||
def format_float(x, parens=...):
|
||||
...
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue