增加环绕侦察场景适配
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
from typing import Final
|
||||
from typing import Literal as L
|
||||
from typing import Any, ClassVar, Final, Literal as L
|
||||
|
||||
import numpy as np
|
||||
|
||||
@@ -22,7 +21,6 @@ from ._polytypes import (
|
||||
_FuncVal,
|
||||
_FuncVal2D,
|
||||
_FuncVal3D,
|
||||
_FuncValFromRoots,
|
||||
_FuncVander,
|
||||
_FuncVander2D,
|
||||
_FuncVander3D,
|
||||
@@ -64,37 +62,39 @@ __all__ = [
|
||||
"legweight",
|
||||
]
|
||||
|
||||
poly2leg: _FuncPoly2Ortho[L["poly2leg"]]
|
||||
leg2poly: _FuncUnOp[L["leg2poly"]]
|
||||
poly2leg: Final[_FuncPoly2Ortho] = ...
|
||||
leg2poly: Final[_FuncUnOp] = ...
|
||||
|
||||
legdomain: Final[_Array2[np.float64]]
|
||||
legzero: Final[_Array1[np.int_]]
|
||||
legone: Final[_Array1[np.int_]]
|
||||
legx: Final[_Array2[np.int_]]
|
||||
legdomain: Final[_Array2[np.float64]] = ...
|
||||
legzero: Final[_Array1[np.int_]] = ...
|
||||
legone: Final[_Array1[np.int_]] = ...
|
||||
legx: Final[_Array2[np.int_]] = ...
|
||||
|
||||
legline: _FuncLine[L["legline"]]
|
||||
legfromroots: _FuncFromRoots[L["legfromroots"]]
|
||||
legadd: _FuncBinOp[L["legadd"]]
|
||||
legsub: _FuncBinOp[L["legsub"]]
|
||||
legmulx: _FuncUnOp[L["legmulx"]]
|
||||
legmul: _FuncBinOp[L["legmul"]]
|
||||
legdiv: _FuncBinOp[L["legdiv"]]
|
||||
legpow: _FuncPow[L["legpow"]]
|
||||
legder: _FuncDer[L["legder"]]
|
||||
legint: _FuncInteg[L["legint"]]
|
||||
legval: _FuncVal[L["legval"]]
|
||||
legval2d: _FuncVal2D[L["legval2d"]]
|
||||
legval3d: _FuncVal3D[L["legval3d"]]
|
||||
legvalfromroots: _FuncValFromRoots[L["legvalfromroots"]]
|
||||
leggrid2d: _FuncVal2D[L["leggrid2d"]]
|
||||
leggrid3d: _FuncVal3D[L["leggrid3d"]]
|
||||
legvander: _FuncVander[L["legvander"]]
|
||||
legvander2d: _FuncVander2D[L["legvander2d"]]
|
||||
legvander3d: _FuncVander3D[L["legvander3d"]]
|
||||
legfit: _FuncFit[L["legfit"]]
|
||||
legcompanion: _FuncCompanion[L["legcompanion"]]
|
||||
legroots: _FuncRoots[L["legroots"]]
|
||||
leggauss: _FuncGauss[L["leggauss"]]
|
||||
legweight: _FuncWeight[L["legweight"]]
|
||||
legline: Final[_FuncLine] = ...
|
||||
legfromroots: Final[_FuncFromRoots] = ...
|
||||
legadd: Final[_FuncBinOp] = ...
|
||||
legsub: Final[_FuncBinOp] = ...
|
||||
legmulx: Final[_FuncUnOp] = ...
|
||||
legmul: Final[_FuncBinOp] = ...
|
||||
legdiv: Final[_FuncBinOp] = ...
|
||||
legpow: Final[_FuncPow] = ...
|
||||
legder: Final[_FuncDer] = ...
|
||||
legint: Final[_FuncInteg] = ...
|
||||
legval: Final[_FuncVal] = ...
|
||||
legval2d: Final[_FuncVal2D] = ...
|
||||
legval3d: Final[_FuncVal3D] = ...
|
||||
leggrid2d: Final[_FuncVal2D] = ...
|
||||
leggrid3d: Final[_FuncVal3D] = ...
|
||||
legvander: Final[_FuncVander] = ...
|
||||
legvander2d: Final[_FuncVander2D] = ...
|
||||
legvander3d: Final[_FuncVander3D] = ...
|
||||
legfit: Final[_FuncFit] = ...
|
||||
legcompanion: Final[_FuncCompanion] = ...
|
||||
legroots: Final[_FuncRoots] = ...
|
||||
leggauss: Final[_FuncGauss] = ...
|
||||
legweight: Final[_FuncWeight] = ...
|
||||
|
||||
class Legendre(ABCPolyBase[L["P"]]): ...
|
||||
class Legendre(ABCPolyBase[L["P"]]):
|
||||
basis_name: ClassVar[L["P"]] = "P" # 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