@@ -3441,13 +3441,13 @@ cdef class Gen(Gen_base):
34413441 >>> e.omega()
34423442 [1.26920930427955, 0.634604652139777 - 1.45881661693850*I]
34433443
3444- The precision is determined by the ``ellinit`` call::
3444+ The precision is determined by the ``ellinit`` call:
34453445
34463446 >>> e = pari([0, -1, 1, -10, -20]).ellinit(precision=256)
34473447 >>> e.omega().bitprecision()
34483448 256
34493449
3450- This also works over quadratic imaginary number fields::
3450+ This also works over quadratic imaginary number fields:
34513451
34523452 >>> e = pari.ellinit([0, -1, 1, -10, -20], "nfinit(y^2 - 2)")
34533453 >>> if pari.version() >= (2, 10, 1):
@@ -3913,7 +3913,7 @@ cdef class Gen(Gen_base):
39133913 >>> pari('1/x + O(x^2)').eval(pari('O(x^3)'))
39143914 Traceback (most recent call last):
39153915 ...
3916- PariError: impossible inverse in gdiv: O(x^3)
3916+ PariError: impossible inverse in ...
39173917 >>> pari('O(x^0)').eval(0)
39183918 Traceback (most recent call last):
39193919 ...
@@ -3991,9 +3991,9 @@ cdef class Gen(Gen_base):
39913991
39923992 >>> nf = pari('x^2 + 1').nfinit()
39933993 >>> nf
3994- [x^2 + 1, [0, 1], -4, 1, [Mat([1, 0.E-38 + 1.00000000000000*I]), [1, 1.00000000000000; 1, -1.00000000000000], [1, 1; 1, -1] , [2, 0; 0, -2], [2, 0; 0, 2], [1, 0; 0, -1], [1, [0, -1; 1, 0]], [2]], [0.E-38 + 1.00000000000000*I], [1, x], [1, 0; 0, 1], [1, 0, 0, -1; 0, 1, 1, 0]]
3994+ [x^2 + 1, [0, 1], -4, 1, [Mat([1, 0.E-38 + 1.00000000000000*I]), [1, 1.00000000000000; 1, -1.00000000000000], ... , [2, 0; 0, -2], [2, 0; 0, 2], [1, 0; 0, -1], [1, [0, -1; 1, 0]], [2]], [0.E-38 + 1.00000000000000*I], [1, x], [1, 0; 0, 1], [1, 0, 0, -1; 0, 1, 1, 0]]
39953995 >>> nf(x='y')
3996- [y^2 + 1, [0, 1], -4, 1, [Mat([1, 0.E-38 + 1.00000000000000*I]), [1, 1.00000000000000; 1, -1.00000000000000], [1, 1; 1, -1] , [2, 0; 0, -2], [2, 0; 0, 2], [1, 0; 0, -1], [1, [0, -1; 1, 0]], [2]], [0.E-38 + 1.00000000000000*I], [1, y], [1, 0; 0, 1], [1, 0, 0, -1; 0, 1, 1, 0]]
3996+ [y^2 + 1, [0, 1], -4, 1, [Mat([1, 0.E-38 + 1.00000000000000*I]), [1, 1.00000000000000; 1, -1.00000000000000], ... , [2, 0; 0, -2], [2, 0; 0, 2], [1, 0; 0, -1], [1, [0, -1; 1, 0]], [2]], [0.E-38 + 1.00000000000000*I], [1, y], [1, 0; 0, 1], [1, 0, 0, -1; 0, 1, 1, 0]]
39973997
39983998 Tests:
39993999
@@ -4259,8 +4259,6 @@ cdef class Gen(Gen_base):
42594259 >>> from cypari2 import Pari
42604260 >>> pari = Pari()
42614261
4262- >>> pari('[2,1;2,1]').matker()
4263- [-1/2; 1]
42644262 >>> pari('[2,1;2,1]').matkerint()
42654263 [1; -2]
42664264 >>> import warnings
0 commit comments