Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes & improvements for scipy.stats.distributions #37

Merged
merged 8 commits into from
Sep 7, 2024
Prev Previous commit
add _shape_info and _param_info methods to `rv_{continuous,discre…
…te}`
jorenham committed Sep 7, 2024

Verified

This commit was signed with the committer’s verified signature.
jorenham Joren Hammudoglu
commit 511358e3318624e8dd5d159c94063b6800c3e125
2 changes: 2 additions & 0 deletions scipy-stubs/stats/_distn_infrastructure.pyi
Original file line number Diff line number Diff line change
@@ -294,6 +294,8 @@ class _rv_mixin:
badvalue: Final[float]
shapes: Final[LiteralString]

def _shape_info(self, /) -> list[_ShapeInfo]: ...
def _param_info(self, /) -> list[_ShapeInfo]: ...
def _attach_methods(self, /) -> None: ...
def generic_moment(self, /, n: _ArrayLikeInt_co, *args: _ScalarLike_f8_co) -> _Array_f8: ...
def _logpxf(self, /, x: _Array_f8_co, *args: Any) -> _Array_f8: ...