"Fossies" - the Fresh Open Source Software Archive

Member "pari-2.13.1/src/test/32/subst" (14 Jan 2021, 1491 Bytes) of package /linux/misc/pari-2.13.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "subst": 2.13.0_vs_2.13.1.

    1 Y/x
    2 x + 1
    3 0
    4 O(x^2)
    5   ***   at top-level: subst(x+O(x^2),x,Mod(1,3))
    6   ***                 ^--------------------------
    7   *** subst: forbidden substitution t_SER , t_INTMOD.
    8 Mod(0, 3)
    9   ***   at top-level: subst(1/x+O(x^2),x,Mod(0,3))
   10   ***                 ^----------------------------
   11   *** subst: impossible inverse in gsubst: Mod(0, 3).
   12 Mod(2, 3)
   13 Mod(0, 3)
   14 
   15 [Mod(0, 3) Mod(0, 3)]
   16 
   17 [Mod(0, 3) Mod(0, 3)]
   18 
   19 Mod(1, 3)
   20 
   21 [Mod(1, 3) Mod(0, 3)]
   22 
   23 [Mod(0, 3) Mod(1, 3)]
   24 
   25 
   26 [Mod(1, 3)*y + Mod(1, 3)               Mod(0, 3)]
   27 
   28 [              Mod(0, 3) Mod(1, 3)*y + Mod(1, 3)]
   29 
   30 
   31 [Mod(1, 3) + Mod(1, 3)*y + O(y^2)                        Mod(0, 3)]
   32 
   33 [                       Mod(0, 3) Mod(1, 3) + Mod(1, 3)*y + O(y^2)]
   34 
   35 
   36 [Mod(1, 3) Mod(0, 3)]
   37 
   38 [Mod(0, 3) Mod(1, 3)]
   39 
   40 
   41 [Mod(0, 3) Mod(0, 3)]
   42 
   43 [Mod(0, 3) Mod(0, 3)]
   44 
   45 
   46 [Mod(0, 3)]
   47 
   48 
   49 [Mod(1, 3)]
   50 
   51 
   52 [Mod(1, 3)]
   53 
   54 
   55 [Mod(0, 3)]
   56 
   57 "t_POL"
   58 "t_INT"
   59 "t_POL"
   60 "t_POL"
   61 "t_POL"
   62 "t_POL"
   63 [3, 4]
   64 [3, 4]~
   65 -1/-y
   66 Mod(y*x, y^2*x^2 + 1)
   67 y*x/(y^2*x^2 + 1)
   68 List([])
   69 List([y*x^2])
   70 x^2 + y^2*x^3 + O(x^4)
   71 [t]
   72 [t]
   73 [;]
   74   ***   at top-level: subst(1,x,Mat([1,2]))
   75   ***                 ^---------------------
   76   *** subst: forbidden substitution t_INT , t_MAT (1x2).
   77 4*y^2 + O(y^3)
   78 1 + O(x)
   79 x + O(x^2)
   80   ***   at top-level: substpol(x+O(x^4),x^2,x)
   81   ***                 ^------------------------
   82   *** substpol: domain error in gdeflate: valuation(x) % 2 != 0
   83 1
   84 (y + 1) + (y + 1)*x + O(x^2)
   85 Mod(1, y)/(Mod(1, y)*x)
   86 Mod(-a, a^2 - 2)
   87 0
   88 O(y) + (1 - y + O(y^2))*x + O(x^2)
   89 Total time spent: 1