增加环绕侦察场景适配
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from typing import Any, Final, TypeVar
|
||||
from typing import Literal as L
|
||||
from typing import Any, ClassVar, Final, Literal as L, TypeVar
|
||||
|
||||
import numpy as np
|
||||
from numpy._typing import _Shape
|
||||
|
||||
from ._polybase import ABCPolyBase
|
||||
from ._polytypes import (
|
||||
@@ -22,7 +22,6 @@ from ._polytypes import (
|
||||
_FuncVal,
|
||||
_FuncVal2D,
|
||||
_FuncVal3D,
|
||||
_FuncValFromRoots,
|
||||
_FuncVander,
|
||||
_FuncVander2D,
|
||||
_FuncVander3D,
|
||||
@@ -64,44 +63,44 @@ __all__ = [
|
||||
"hermweight",
|
||||
]
|
||||
|
||||
poly2herm: _FuncPoly2Ortho[L["poly2herm"]]
|
||||
herm2poly: _FuncUnOp[L["herm2poly"]]
|
||||
_ShapeT = TypeVar("_ShapeT", bound=_Shape)
|
||||
|
||||
hermdomain: Final[_Array2[np.float64]]
|
||||
hermzero: Final[_Array1[np.int_]]
|
||||
hermone: Final[_Array1[np.int_]]
|
||||
hermx: Final[_Array2[np.int_]]
|
||||
poly2herm: Final[_FuncPoly2Ortho] = ...
|
||||
herm2poly: Final[_FuncUnOp] = ...
|
||||
|
||||
hermline: _FuncLine[L["hermline"]]
|
||||
hermfromroots: _FuncFromRoots[L["hermfromroots"]]
|
||||
hermadd: _FuncBinOp[L["hermadd"]]
|
||||
hermsub: _FuncBinOp[L["hermsub"]]
|
||||
hermmulx: _FuncUnOp[L["hermmulx"]]
|
||||
hermmul: _FuncBinOp[L["hermmul"]]
|
||||
hermdiv: _FuncBinOp[L["hermdiv"]]
|
||||
hermpow: _FuncPow[L["hermpow"]]
|
||||
hermder: _FuncDer[L["hermder"]]
|
||||
hermint: _FuncInteg[L["hermint"]]
|
||||
hermval: _FuncVal[L["hermval"]]
|
||||
hermval2d: _FuncVal2D[L["hermval2d"]]
|
||||
hermval3d: _FuncVal3D[L["hermval3d"]]
|
||||
hermvalfromroots: _FuncValFromRoots[L["hermvalfromroots"]]
|
||||
hermgrid2d: _FuncVal2D[L["hermgrid2d"]]
|
||||
hermgrid3d: _FuncVal3D[L["hermgrid3d"]]
|
||||
hermvander: _FuncVander[L["hermvander"]]
|
||||
hermvander2d: _FuncVander2D[L["hermvander2d"]]
|
||||
hermvander3d: _FuncVander3D[L["hermvander3d"]]
|
||||
hermfit: _FuncFit[L["hermfit"]]
|
||||
hermcompanion: _FuncCompanion[L["hermcompanion"]]
|
||||
hermroots: _FuncRoots[L["hermroots"]]
|
||||
hermdomain: Final[_Array2[np.float64]] = ...
|
||||
hermzero: Final[_Array1[np.int_]] = ...
|
||||
hermone: Final[_Array1[np.int_]] = ...
|
||||
hermx: Final[_Array2[np.int_]] = ...
|
||||
|
||||
_ND = TypeVar("_ND", bound=Any)
|
||||
def _normed_hermite_n(
|
||||
x: np.ndarray[_ND, np.dtype[np.float64]],
|
||||
n: int | np.intp,
|
||||
) -> np.ndarray[_ND, np.dtype[np.float64]]: ...
|
||||
hermline: Final[_FuncLine] = ...
|
||||
hermfromroots: Final[_FuncFromRoots] = ...
|
||||
hermadd: Final[_FuncBinOp] = ...
|
||||
hermsub: Final[_FuncBinOp] = ...
|
||||
hermmulx: Final[_FuncUnOp] = ...
|
||||
hermmul: Final[_FuncBinOp] = ...
|
||||
hermdiv: Final[_FuncBinOp] = ...
|
||||
hermpow: Final[_FuncPow] = ...
|
||||
hermder: Final[_FuncDer] = ...
|
||||
hermint: Final[_FuncInteg] = ...
|
||||
hermval: Final[_FuncVal] = ...
|
||||
hermval2d: Final[_FuncVal2D] = ...
|
||||
hermval3d: Final[_FuncVal3D] = ...
|
||||
hermgrid2d: Final[_FuncVal2D] = ...
|
||||
hermgrid3d: Final[_FuncVal3D] = ...
|
||||
hermvander: Final[_FuncVander] = ...
|
||||
hermvander2d: Final[_FuncVander2D] = ...
|
||||
hermvander3d: Final[_FuncVander3D] = ...
|
||||
hermfit: Final[_FuncFit] = ...
|
||||
hermcompanion: Final[_FuncCompanion] = ...
|
||||
hermroots: Final[_FuncRoots] = ...
|
||||
|
||||
hermgauss: _FuncGauss[L["hermgauss"]]
|
||||
hermweight: _FuncWeight[L["hermweight"]]
|
||||
def _normed_hermite_n(x: np.ndarray[_ShapeT, np.dtype[np.float64]], n: int) -> np.ndarray[_ShapeT, np.dtype[np.float64]]: ...
|
||||
|
||||
class Hermite(ABCPolyBase[L["H"]]): ...
|
||||
hermgauss: Final[_FuncGauss] = ...
|
||||
hermweight: Final[_FuncWeight] = ...
|
||||
|
||||
class Hermite(ABCPolyBase[L["H"]]):
|
||||
basis_name: ClassVar[L["H"]] = "H" # pyright: ignore[reportIncompatibleMethodOverride]
|
||||
domain: _Array2[np.float64 | Any] = ... # pyright: ignore[reportIncompatibleMethodOverride]
|
||||
window: _Array2[np.float64 | Any] = ... # pyright: ignore[reportIncompatibleMethodOverride]
|
||||
|
||||
Reference in New Issue
Block a user