|
1 | | -from typing import overload, Any, Sequence |
| 1 | +from typing import overload, Sequence |
2 | 2 | from flint.flint_base.flint_base import flint_poly |
3 | 3 | from flint.types.fmpz import fmpz, ifmpz |
4 | 4 | from flint.types.fmpq import fmpq |
@@ -71,15 +71,15 @@ class fmpz_poly(flint_poly[fmpz]): |
71 | 71 | def resultant(self, other: ifmpz_poly, /) -> fmpz: ... |
72 | 72 | def factor(self) -> tuple[fmpz, list[tuple[fmpz_poly, int]]]: ... |
73 | 73 | def factor_squarefree(self) -> tuple[fmpz, list[tuple[fmpz_poly, int]]]: ... |
| 74 | + def roots(self) -> list[tuple[fmpz, int]]: ... |
74 | 75 | def sqrt(self) -> fmpz_poly: ... |
75 | 76 | def deflation(self) -> tuple[fmpz_poly, int]: ... |
76 | 77 | def deflation_monom(self) -> tuple[fmpz_poly, int, fmpz_poly]: ... |
77 | 78 | def inflate(self, n: int, /) -> fmpz_poly: ... |
78 | 79 | def deflate(self, n: int, /) -> fmpz_poly: ... |
79 | 80 | def deflation_index(self) -> tuple[int, int]: ... |
80 | 81 |
|
81 | | - # XXX acb |
82 | | - def complex_roots(self, verbose: bool = False) -> list[Any]: ... |
| 82 | + def complex_roots(self, verbose: bool = False) -> list[acb]: ... |
83 | 83 | @staticmethod |
84 | 84 | def cyclotomic(n: int, /) -> fmpz_poly: ... |
85 | 85 | def is_cyclotomic(self) -> int: ... |
|
0 commit comments