[36][37][38][39][40][41][42][43][44][45][46][47][48][49][50][51][52][53][54]
[55][56][57][58][59][60][61][62][63][64][65][66][67][68][69][70][71][72][73]
[74][75][76][77][78][79][80][81][82][83][84][85][86][87][88][89][90][91][92]
[93][94][95][96][97][98][99][100]
[2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 23,
 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42, 43,
 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63,
 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82,
 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]
[2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23,
 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
 63, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82,
 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]
[2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
 43, 44, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
 63, 64, 65, 66, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82,
 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]
[2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
 23, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
 63, 64, 65, 66, 67, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82,
 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]
[2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
 23, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
 43, 44, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 74, 75, 76, 77, 78, 79, 80, 81, 82,
 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]
[2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
 43, 44, 45, 46, 47, 48, 49, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 82,
 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]
[2, 3, 4]
[99, 98, 97]
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 
22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 
41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 
60, 61, 62, 63, 64, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 
80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 
99, 100]
[1, 100]
[100, 1]
[3, 5]

[0 1 0]

[0 0 1]


[0]

[1]

[0, 2]
[0, 2]
[0, 0]
[0, 0]
[0, 0]
[0, 0]
Vec
[1]
[1, 0]
[1/x]
[5, 4, 3, 2, 1]
[1, 2]
[1, 2]
[1, 2]
[1, 2, 3]
[1, 2, 3, 4, 5]
["a", "b"]
[[1, 3]~, [2, 4]~, [3, 5]~]
["e_INV", "gdiv", 0]
(x)->my(f=Vec);f(x,4)
[1, 0, 0, 0]
[1, 0, 0, 0]
[1/x, 0, 0, 0]
[5, 4, 3, 2]
[1, 2, 0, 0]
[1, 2, 0, 0]
[1, 2, 0, 0]
[1, 2, 3, 0]
[1, 2, 3, 4]
error("incorrect type in gtovec (t_STR).")
error("incorrect type in gtovec (t_MAT).")
error("incorrect type in gtovec (t_ERROR).")
(x)->my(f=Vec);f(x,-4)
[0, 0, 0, 1]
[0, 0, 1, 0]
[0, 0, 0, 1/x]
[5, 4, 3, 2]
[0, 0, 1, 2]
[0, 0, 1, 2]
[0, 0, 1, 2]
[0, 1, 2, 3]
[1, 2, 3, 4]
error("incorrect type in gtovec (t_STR).")
error("incorrect type in gtovec (t_MAT).")
error("incorrect type in gtovec (t_ERROR).")
Vecrev
[1]
[0, 1]
[1/x]
[1, 2, 3, 4, 5]
[2, 1]
[2, 1]
[2, 1]
[3, 2, 1]
[5, 4, 3, 2, 1]
["b", "a"]
[[3, 5]~, [2, 4]~, [1, 3]~]
[0, "gdiv", "e_INV"]
(x)->my(f=Vecrev);f(x,4)
[1, 0, 0, 0]
[0, 1, 0, 0]
[1/x, 0, 0, 0]
[2, 3, 4, 5]
[2, 1, 0, 0]
[2, 1, 0, 0]
[2, 1, 0, 0]
[3, 2, 1, 0]
[4, 3, 2, 1]
error("incorrect type in gtovec (t_STR).")
error("incorrect type in gtovec (t_MAT).")
error("incorrect type in gtovec (t_ERROR).")
(x)->my(f=Vecrev);f(x,-4)
[0, 0, 0, 1]
[0, 0, 0, 1]
[0, 0, 0, 1/x]
[2, 3, 4, 5]
[0, 0, 2, 1]
[0, 0, 2, 1]
[0, 0, 2, 1]
[0, 3, 2, 1]
[4, 3, 2, 1]
error("incorrect type in gtovec (t_STR).")
error("incorrect type in gtovec (t_MAT).")
error("incorrect type in gtovec (t_ERROR).")
Col
[1]~
[1, 0]~
[1/x]~
[5, 4, 3, 2, 1]~
[1, 2]~
[1, 2]~
[1, 2]~
[1, 2, 3]~
[1, 2, 3, 4, 5]~
["a", "b"]~
[[1, 2, 3], [3, 4, 5]]~
["e_INV", "gdiv", 0]~
(x)->my(f=Col);f(x,4)
[1, 0, 0, 0]~
[1, 0, 0, 0]~
[1/x, 0, 0, 0]~
[5, 4, 3, 2]~
[1, 2, 0, 0]~
[1, 2, 0, 0]~
[1, 2, 0, 0]~
[1, 2, 3, 0]~
[1, 2, 3, 4]~
error("incorrect type in gtovec (t_STR).")
error("incorrect type in gtovec (t_MAT).")
error("incorrect type in gtovec (t_ERROR).")
(x)->my(f=Col);f(x,-4)
[0, 0, 0, 1]~
[0, 0, 1, 0]~
[0, 0, 0, 1/x]~
[5, 4, 3, 2]~
[0, 0, 1, 2]~
[0, 0, 1, 2]~
[0, 0, 1, 2]~
[0, 1, 2, 3]~
[1, 2, 3, 4]~
error("incorrect type in gtovec (t_STR).")
error("incorrect type in gtovec (t_MAT).")
error("incorrect type in gtovec (t_ERROR).")
Colrev
[1]~
[0, 1]~
[1/x]~
[1, 2, 3, 4, 5]~
[2, 1]~
[2, 1]~
[2, 1]~
[3, 2, 1]~
[5, 4, 3, 2, 1]~
["b", "a"]~
[[3, 4, 5], [1, 2, 3]]~
[0, "gdiv", "e_INV"]~
(x)->my(f=Colrev);f(x,4)
[1, 0, 0, 0]~
[0, 1, 0, 0]~
[1/x, 0, 0, 0]~
[2, 3, 4, 5]~
[2, 1, 0, 0]~
[2, 1, 0, 0]~
[2, 1, 0, 0]~
[3, 2, 1, 0]~
[4, 3, 2, 1]~
error("incorrect type in gtovec (t_STR).")
error("incorrect type in gtovec (t_MAT).")
error("incorrect type in gtovec (t_ERROR).")
(x)->my(f=Colrev);f(x,-4)
[0, 0, 0, 1]~
[0, 0, 0, 1]~
[0, 0, 0, 1/x]~
[2, 3, 4, 5]~
[0, 0, 2, 1]~
[0, 0, 2, 1]~
[0, 0, 2, 1]~
[0, 3, 2, 1]~
[4, 3, 2, 1]~
error("incorrect type in gtovec (t_STR).")
error("incorrect type in gtovec (t_MAT).")
error("incorrect type in gtovec (t_ERROR).")
Vecsmall
Vecsmall([1])
Vecsmall([1, 0])
error("incorrect type in vectosmall (t_RFRAC).")
Vecsmall([5, 4, 3, 2, 1])
Vecsmall([1, 2])
Vecsmall([1, 2])
Vecsmall([1, 2])
Vecsmall([1, 2, 3])
Vecsmall([1, 2, 3, 4, 5])
Vecsmall([97, 98])
error("incorrect type in vectosmall (t_MAT).")
error("incorrect type in vectosmall (t_ERROR).")
(x)->my(f=Vecsmall);f(x,4)
Vecsmall([1, 0, 0, 0])
Vecsmall([1, 0, 0, 0])
error("incorrect type in gtovecsmall (t_RFRAC).")
Vecsmall([5, 4, 3, 2])
Vecsmall([1, 2, 0, 0])
Vecsmall([1, 2, 0, 0])
Vecsmall([1, 2, 0, 0])
Vecsmall([1, 2, 3, 0])
Vecsmall([1, 2, 3, 4])
error("incorrect type in gtovecsmall (t_STR).")
error("incorrect type in gtovecsmall (t_MAT).")
error("incorrect type in gtovecsmall (t_ERROR).")
(x)->my(f=Vecsmall);f(x,-4)
Vecsmall([0, 0, 0, 1])
Vecsmall([0, 0, 1, 0])
error("incorrect type in gtovecsmall (t_RFRAC).")
Vecsmall([5, 4, 3, 2])
Vecsmall([0, 0, 1, 2])
Vecsmall([0, 0, 1, 2])
Vecsmall([0, 0, 1, 2])
Vecsmall([0, 1, 2, 3])
Vecsmall([1, 2, 3, 4])
error("incorrect type in gtovecsmall (t_STR).")
error("incorrect type in gtovecsmall (t_MAT).")
error("incorrect type in gtovecsmall (t_ERROR).")
(x)->component(x,2)
error("incorrect type in component [leaf] (t_INT).")
1
x
2
2
2
2
2
2
error("incorrect type in component [leaf] (t_STR).")
[2, 4]~
0
(x)->component(x,10)
error("incorrect type in component [leaf] (t_INT).")
error("non-existent component: index > 2")
error("non-existent component: index > 2")
error("non-existent component: index > 5")
error("non-existent component: index > 2")
error("non-existent component: index > 2")
error("non-existent component: index > 2")
error("non-existent component: index > 3")
error("non-existent component: index > 5")
error("incorrect type in component [leaf] (t_STR).")
error("non-existent component: index > 3")
error("non-existent component: index > 2")
(x)->polcoef(x,-1)
0
0
1
0
0
error("incorrect type in polcoef (t_VEC).")
error("incorrect type in polcoef (t_VECSMALL).")
error("incorrect type in polcoef (t_LIST).")
error("incorrect type in polcoef (t_LIST).")
error("incorrect type in polcoef (t_STR).")
error("incorrect type in polcoef (t_MAT).")
error("incorrect type in polcoef (t_ERROR).")
(x)->polcoef(x,2)
0
0
0
3
2
error("incorrect type in polcoef (t_VEC).")
error("incorrect type in polcoef (t_VECSMALL).")
error("incorrect type in polcoef (t_LIST).")
error("incorrect type in polcoef (t_LIST).")
error("incorrect type in polcoef (t_STR).")
error("incorrect type in polcoef (t_MAT).")
error("incorrect type in polcoef (t_ERROR).")
(x)->polcoef(x,10)
0
0
0
0
error("domain error in polcoef: degree > 2")
error("incorrect type in polcoef (t_VEC).")
error("incorrect type in polcoef (t_VECSMALL).")
error("incorrect type in polcoef (t_LIST).")
error("incorrect type in polcoef (t_LIST).")
error("incorrect type in polcoef (t_STR).")
error("incorrect type in polcoef (t_MAT).")
error("incorrect type in polcoef (t_ERROR).")
0
O(x^2)
1 + x + O(x^2)
y + O(y^2)
0
9 + 18*x + 36*x^2 + O(x^3)
Vecsmall([4, 5, 3])
  ***   at top-level: vecextract([1],11)
  ***                 ^------------------
  *** vecextract: incorrect type in vecextract [mask too large] (t_INT).
  ***   at top-level: vecextract([1],"1..2")
  ***                 ^----------------------
  *** vecextract: incorrect type in vecextract [incorrect range] (t_STR).
  ***   at top-level: vecextract([1],1/2)
  ***                 ^-------------------
  *** vecextract: incorrect type in vecextract [mask] (t_FRAC).
  ***   at top-level: vecextract(1,1)
  ***                 ^---------------
  *** vecextract: incorrect type in extract (t_INT).
  ***   at top-level: vecextract(matid(2),[3],[])
  ***                 ^---------------------------
  *** vecextract: incorrect type in vecextract [incorrect mask] (t_VEC).
  ***   at top-level: [1][2..3]
  ***                 ^---------
  *** _[_.._]: inconsistent dimensions in _[..].
  ***   at top-level: [1][-10..3]
  ***                 ^-----------
  *** _[_.._]: inconsistent dimensions in _[..].
  ***   at top-level: 1[1..2]
  ***                 ^-------
  *** _[_.._]: incorrect type in _[_.._] (t_INT).
  ***   at top-level: [1/2..1]
  ***                     ^----
  *** [_.._]: incorrect type in [_.._] (t_FRAC).
  ***   at top-level: [1..1/2]
  ***                   ^------
  *** [_.._]: incorrect type in [_.._] (t_FRAC).
Total time spent: 2
