-
Notifications
You must be signed in to change notification settings - Fork 102
Expand file tree
/
Copy pathrootoftools.pyi
More file actions
66 lines (57 loc) · 1.76 KB
/
rootoftools.pyi
File metadata and controls
66 lines (57 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
from typing import Any, Literal
from typing_extensions import Self
from sympy.core import Expr
from sympy.core.numbers import Integer
from sympy.series.order import Order
from sympy.utilities import public
__all__ = ["CRootOf"]
class _pure_key_dict:
def __init__(self) -> None: ...
def __getitem__(self, k): ...
def __setitem__(self, k, v) -> None: ...
def __contains__(self, k) -> bool: ...
_reals_cache = ...
_complexes_cache = ...
@public
def rootof(f, x, index=..., radicals=..., expand=...) -> Any: ...
@public
class RootOf(Expr):
__slots__ = ...
def __new__(cls, f, x, index=..., radicals=..., expand=...) -> Any: ...
@public
class ComplexRootOf(RootOf):
__slots__ = ...
is_complex = ...
is_number = ...
is_finite = ...
def __new__(cls, f, x, index=..., radicals=..., expand=...) -> Any: ...
@property
def expr(self): ...
@property
def args(self) -> tuple[Any, Any | Integer]: ...
@property
def free_symbols(self) -> set[Any]: ...
@classmethod
def real_roots(cls, poly, radicals=...) -> list[Any]: ...
@classmethod
def all_roots(cls, poly, radicals=...) -> list[Any]: ...
@classmethod
def clear_cache(cls) -> None: ...
def eval_approx(self, n, return_mpmath=...): ...
def eval_rational(self, dx=..., dy=..., n=...): ...
CRootOf = ...
@public
class RootSum(Expr):
__slots__ = ...
def __new__(cls, expr, func=..., x=..., auto=..., quadratic=...): ...
@classmethod
def new(cls, poly, func, auto=...) -> Self | Any: ...
@property
def expr(self): ...
@property
def args(self) -> tuple[Any, Any, Any]: ...
@property
def free_symbols(self): ...
@property
def is_commutative(self) -> Literal[True]: ...
def doit(self, **hints) -> Self | Order: ...