File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ class nmod_poly(flint_poly[nmod]):
2727 def is_constant (self ) -> bool : ...
2828 def is_gen (self ) -> bool : ...
2929 def reverse (self , degree : int | None = None ) -> nmod_poly : ...
30+ def truncate (self , n : int ) -> nmod_poly : ...
3031 def leading_coefficient (self ) -> nmod : ...
3132 def inverse_series_trunc (self , n : int ) -> nmod_poly : ...
3233 def compose (self , other : inmod_poly ) -> nmod_poly : ...
@@ -53,6 +54,8 @@ class nmod_poly(flint_poly[nmod]):
5354 def __rmod__ (self , other : inmod_poly ) -> nmod_poly : ...
5455 def __divmod__ (self , other : inmod_poly ) -> tuple [nmod_poly , nmod_poly ]: ...
5556 def __rdivmod__ (self , other : inmod_poly ) -> tuple [nmod_poly , nmod_poly ]: ...
57+ def left_shift (self , n : int ) -> nmod_poly : ...
58+ def right_shift (self , n : int ) -> nmod_poly : ...
5659 def __pow__ (self , other : int , mod : inmod_poly | None = None ) -> nmod_poly : ...
5760 def pow_mod (
5861 self , e : int , modulus : inmod_poly , mod_rev_inv : inmod_poly | None = None
You can’t perform that action at this time.
0 commit comments