File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -644,8 +644,8 @@ cdef class gr_ctx(flint_ctx):
644
644
645
645
def factor(self , x ) -> tuple[gr , list[tuple[gr , int]]]:
646
646
"""
647
- Given an element of the context , this returns a factorization (c , f , e ):
648
- x = c f₁^ e₁ ··· fₙ^ eₙ, where fₖ will be irreducible or prime depending on the ring.
647
+ Given an element of the context , this returns a factorization `` (c , f , e )`` :
648
+ `` x = c f₁^ e₁ ··· fₙ^ eₙ`` , where ``fₖ`` will be irreducible or prime depending on the ring.
649
649
The prefactor c stores a unit , sign or coefficient.
650
650
Note that c is an element of the same ring as x.
651
651
"""
@@ -733,9 +733,9 @@ cdef class gr_ctx(flint_ctx):
733
733
def cmpabs (self , x , y ) -> int:
734
734
"""
735
735
Returns:
736
- - - 1 if | x| < | y|
737
- - 0 if | x| = | y|
738
- - 1 if | x| > | y|
736
+ - -1 if ` |x| < |y|`
737
+ - 0 if ` |x| = |y|`
738
+ - 1 if ` |x| > |y|`
739
739
"""
740
740
if isinstance(x , gr ) and isinstance(y , gr ):
741
741
if x.ctx == self and y.ctx != self :
You can’t perform that action at this time.
0 commit comments