Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/deepthought/tst/   (GAP Algebra Version 4.15.1©)  Datei vom 20.5.2025 mit Größe 32 kB image not shown  

Quelle  compare-computed-results.tst   Sprache: unbekannt

 
Spracherkennung für: .tst vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

gap> START_TEST( "Start highlevel tests" );
gap> coll :=  Collector(UnitriangularPcpGroup(100));;
gap> dto_rs := DTP_DTObjFromCollector(coll, true);;
gap> dto_r := DTP_DTObjFromCollector(coll, false);;
gap> g := [];; h := [];;
gap> for i in [1 .. NumberOfGenerators(coll)] do 
> Add(g, Random([-1000010000]));;
> Add(h, Random([-1000010000]));;
> od;

# test Exp
gap> z := Random([-10000 .. 10000]);; 
gap> DTP_Exp(g, z, dto_rs);
775900007759000077590000, -77590000, -77590000, -77590000, -77590000
  7759000077590000, -3009716177590000, -30097160224100003009716177590000
  -3009716177590000, -3009716022410000, -30097161775900003009716022410000
  -3009716022410000, -155702652259432277590000155702640220567877590000
  -155702646240000077590000155702652259432122410000
  155702640220567877590000, -155702652259432122410000
  15570264624000007759000013589922437975583366716177590000
  -1358992150388008855128382241000013589921970988033290716177590000
  -1358992243797557734728397759000013589921348237648672148377590000
  -13589922282333119409851777590000, -562417417653395717484713539432277590000,
  562417408590334071425577443999922410000
  -562417399536614023691580000000077590000
  -562417444833240126508506460567722410000
  562417399533500572649805678000077590000
  39398903370814715083618655116142147148222410000
  -39398898683972845391698095541760750283977590000
  -39398901964952386188266395328861585148222410000
  -39398903558136172175801745003688832283977590000
  -2418478619895201935607449661395719714599658567722410000
  -2418478298729864390209303242750917925126019432277590000
  -2418478535076401355224843964758112391547520000077590000
  -277050135134299142661395453533265211819598773048129851622410000
  -277050121632339475933456649285041806850241296607688716177590000
  -10065996184460205856919361421814744694894142573493502890641999922410000 ]
gap> DTP_Exp(g, z, dto_r);  
775900007759000077590000, -77590000, -77590000, -77590000, -77590000
  7759000077590000, -3009716177590000, -30097160224100003009716177590000
  -3009716177590000, -3009716022410000, -30097161775900003009716022410000
  -3009716022410000, -155702652259432277590000155702640220567877590000
  -155702646240000077590000155702652259432122410000
  155702640220567877590000, -155702652259432122410000
  15570264624000007759000013589922437975583366716177590000
  -1358992150388008855128382241000013589921970988033290716177590000
  -1358992243797557734728397759000013589921348237648672148377590000
  -13589922282333119409851777590000, -562417417653395717484713539432277590000,
  562417408590334071425577443999922410000
  -562417399536614023691580000000077590000
  -562417444833240126508506460567722410000
  562417399533500572649805678000077590000
  39398903370814715083618655116142147148222410000
  -39398898683972845391698095541760750283977590000
  -39398901964952386188266395328861585148222410000
  -39398903558136172175801745003688832283977590000
  -2418478619895201935607449661395719714599658567722410000
  -2418478298729864390209303242750917925126019432277590000
  -2418478535076401355224843964758112391547520000077590000
  -277050135134299142661395453533265211819598773048129851622410000
  -277050121632339475933456649285041806850241296607688716177590000
  -10065996184460205856919361421814744694894142573493502890641999922410000 ]
gap> z := Random([-10000 .. 10000]); 
-1569
gap> DTP_Exp(h, z, dto_rs);
[ -1569000015690000, -1569000015690000156900001569000015690000
  1569000015690000123166515690000123166515690000123166515690000
  -123166484310000, -123166484310000, -123166484310000, -123166484310000
  -123166515690000, -12875004800000156900001287500480000015690000
  1287500726333015690000, -1287500479999984310000, -1287500480000015690000
  -1287500480000015690000, -1287500233666984310000
  -2273566335033250816648431000022735662060368451833484310000
  22735664637832988166484310000, -22735659485367491833484310000
  -22735659485367738166484310000, -22735660775331548166484310000
  -190171230870071013164536333015690000190171215687193102036189999984310000,
  190171230844298945265496333015690000, -190171185398744312499273666984310000,
  -190171139927424051800479999984310000
  -2692506125336223499429090914646833484310000
  2692506030099073601558937584860500515690000
  2692506410592818547140828577743166515690000
  -2692505142734649697439276150849499484310000
  -33439716064729416692098811780182264290000015690000
  33439715650156661853716706964517336423666984310000
  33439721048485879977718412280159272613666984310000
  -775072778016171717403193735819404546359716298166515690000
  775072709745491261398863274588309433190982015500515690000
  -5691299822584486198116773124485809754555392337001673666984310000 ]
gap> DTP_Exp(h, z, dto_r);  
[ -1569000015690000, -1569000015690000156900001569000015690000
  1569000015690000123166515690000123166515690000123166515690000
  -123166484310000, -123166484310000, -123166484310000, -123166484310000
  -123166515690000, -12875004800000156900001287500480000015690000
  1287500726333015690000, -1287500479999984310000, -1287500480000015690000
  -1287500480000015690000, -1287500233666984310000
  -2273566335033250816648431000022735662060368451833484310000
  22735664637832988166484310000, -22735659485367491833484310000
  -22735659485367738166484310000, -22735660775331548166484310000
  -190171230870071013164536333015690000190171215687193102036189999984310000,
  190171230844298945265496333015690000, -190171185398744312499273666984310000,
  -190171139927424051800479999984310000
  -2692506125336223499429090914646833484310000
  2692506030099073601558937584860500515690000
  2692506410592818547140828577743166515690000
  -2692505142734649697439276150849499484310000
  -33439716064729416692098811780182264290000015690000
  33439715650156661853716706964517336423666984310000
  33439721048485879977718412280159272613666984310000
  -775072778016171717403193735819404546359716298166515690000
  775072709745491261398863274588309433190982015500515690000
  -5691299822584486198116773124485809754555392337001673666984310000 ]

# test Inverse 
gap> g_inv := DTP_Inverse(g, dto_rs);
[ -10000, -10000, -1000010000100001000010000, -10000, -10000
  -99990000, -10001000099990000, -99990000, -100010000, -99990000
  100010000, -100010000, -199990000, -20001000010000200010000
  -200010000, -200010000, -100009997000099990000, -10000999900010000
  10001000099990000, -999699989999000010003000299990000, -9998999699990000
  -1999900002000400000001000020000000000010000, -19999999800010000
  -200000001000010004999800030001000099990000000100010000
  -100009996000300010000100009998000100010000, -1999199999997999800010000
  2000600079999999800010000199960000000000010000
  -99999998999099999998999700010000, -99999995000500039999000099990000
  39993999599979997999999990000 ]
gap> g_inv := DTP_Inverse(g, dto_r);
[ -10000, -10000, -1000010000100001000010000, -10000, -10000
  -99990000, -10001000099990000, -99990000, -100010000, -99990000
  100010000, -100010000, -199990000, -20001000010000200010000
  -200010000, -200010000, -100009997000099990000, -10000999900010000
  10001000099990000, -999699989999000010003000299990000, -9998999699990000
  -1999900002000400000001000020000000000010000, -19999999800010000
  -200000001000010004999800030001000099990000000100010000
  -100009996000300010000100009998000100010000, -1999199999997999800010000
  2000600079999999800010000199960000000000010000
  -99999998999099999998999700010000, -99999995000500039999000099990000
  39993999599979997999999990000 ]
gap> h_inv := DTP_Inverse(h, dto_rs);
[ -1000010000, -10000100001000010000100001000010000100010000
  100010000100010000, -99990000, -99990000, -99990000, -99990000
  -100010000, -100001000020001000010000, -10000, -10000200010000
  -10001000099990000999899989999000010001000099990000, -9998999899990000
  -9999000099990000, -10001000099990000, -20002000200010000, -2000000010000
  200020001000020001000020000000000010000, -100030001999899990000
  99989997999700010000100010004000100010000, -100010000000299990000
  -200000002000000010000, -400020002000100002000200019995999799990000
  -10000000100010005999900010001000099999998999500020000999700010000
  200019999999800040000000200010000 ]
gap> h_inv := DTP_Inverse(h, dto_r);
[ -1000010000, -10000100001000010000100001000010000100010000
  100010000100010000, -99990000, -99990000, -99990000, -99990000
  -100010000, -100001000020001000010000, -10000, -10000200010000
  -10001000099990000999899989999000010001000099990000, -9998999899990000
  -9999000099990000, -10001000099990000, -20002000200010000, -2000000010000
  200020001000020001000020000000000010000, -100030001999899990000
  99989997999700010000100010004000100010000, -100010000000299990000
  -200000002000000010000, -400020002000100002000200019995999799990000
  -10000000100010005999900010001000099999998999500020000999700010000
  200019999999800040000000200010000 ]

# test Order
gap> DTP_Order(g, dto_rs);
infinity
gap> DTP_Order(g, dto_r);
infinity
gap> DTP_Order(g_inv, dto_rs);
infinity
gap> DTP_Order(g_inv, dto_r);
infinity
gap> DTP_Order(h, dto_rs);
infinity
gap> DTP_Order(h, dto_r);
infinity
gap> DTP_Order(h_inv, dto_rs);
infinity
gap> DTP_Order(h_inv, dto_r);
infinity

# test SolveEquation
gap> DTP_SolveEquation(g, h, dto_rs);
0, -2000000000, -20000, -200000, -200020000, -200000, -20000
  00, -200000000200001999799980000000, -200000000, -200020000
  -20000, -19997999600000000, -2000000000399980000200020000000020000
  199980004000200020000, -200000000, -200020000, -60000000200000
  -19998000000019998000000003999599980000200000000, -200000000
  19997999200019999999200020000, -199899997999800006000200000000
  -199979988001800159998000200000000, -80006000400020000 ]
gap> DTP_SolveEquation(g, h, dto_r);
0, -2000000000, -20000, -200000, -200020000, -200000, -20000
  00, -200000000200001999799980000000, -200000000, -200020000
  -20000, -19997999600000000, -2000000000399980000200020000000020000
  199980004000200020000, -200000000, -200020000, -60000000200000
  -19998000000019998000000003999599980000200000000, -200000000
  19997999200019999999200020000, -199899997999800006000200000000
  -199979988001800159998000200000000, -80006000400020000 ]
gap> DTP_SolveEquation(h, g, dto_rs);
02000000000200002000002000200002000002000000
  -200000000, -20000, -200019998000000020000000020002000020000
  19997999600000000, -2000000000, -3999800001999800000000, -20000
  -200020003999800020000200000000200020000, -5999999980000400000000
  199979999999799980000000080000000200004000200000000200000000
  20001999599859991999599980000599939997999800005999800000000
  199979991997799920001999400000000160010000000020000 ]
gap> DTP_SolveEquation(h, g, dto_r);
02000000000200002000002000200002000002000000
  -200000000, -20000, -200019998000000020000000020002000020000
  19997999600000000, -2000000000, -3999800001999800000000, -20000
  -200020003999800020000200000000200020000, -5999999980000400000000
  199979999999799980000000080000000200004000200000000200000000
  20001999599859991999599980000599939997999800005999800000000
  199979991997799920001999400000000160010000000020000 ]
gap> DTP_SolveEquation(g, g, dto_rs);
0000000000000000000000000
  00000000000000000000 ]
gap> DTP_SolveEquation(g, g, dto_r);
0000000000000000000000000
  00000000000000000000 ]

# test Multiply
gap> DTP_Multiply(g, h, dto_rs);
20000020000, -20000, -20000, -20000, -2000000, -100020000
  100000000100000000, -100020000, -100000000, -10002000099980000
  100020000, -2000200000000, -2000000000000, -20000000200002000199980000
  1999800020000200002000000004000400010000000039999999700020000
  40000000300020000, -4000399990002000019999000000002000099980000
  -600019996000200000000, -599999996000200000000, -599960003999800020000
  19997999400040000000020001999800000000000012001200000004000299980000
  119991999600059998999800003999200039996000100000000
  -4001200059998000100020000, -180018000000059999999599980000
  -59987998800080001999400000000, -59999999599999998000200000000
  11998799640000000799900001000200001200039980000600039994000099980000
  -26005800239998001600079995999600000000 ]
gap> DTP_Multiply(g, h, dto_r);
20000020000, -20000, -20000, -20000, -2000000, -100020000
  100000000100000000, -100020000, -100000000, -10002000099980000
  100020000, -2000200000000, -2000000000000, -20000000200002000199980000
  1999800020000200002000000004000400010000000039999999700020000
  40000000300020000, -4000399990002000019999000000002000099980000
  -600019996000200000000, -599999996000200000000, -599960003999800020000
  19997999400040000000020001999800000000000012001200000004000299980000
  119991999600059998999800003999200039996000100000000
  -4001200059998000100020000, -180018000000059999999599980000
  -59987998800080001999400000000, -59999999599999998000200000000
  11998799640000000799900001000200001200039980000600039994000099980000
  -26005800239998001600079995999600000000 ]
gap> DTP_Multiply(h, g, dto_rs);
20000020000, -20000, -20000, -20000, -200000099980000
  -100000000100000000, -100020000, -100000000, -100020000, -100020000
  10002000020000000000002000200000000, -19998000200001999999980000
  2000000020000, -1999800000, -39998000100000000, -40001999699980000
  39998000300020000, -4000199990002000030000000099980000
  599920001999800000000600019997999800000000, -599940006000000020000
  -200040000000000000000200040002000000000000, -11999400019998000300020000
  -11999799940004000100020000, -4000599980009999900000000
  -4001000040002000500020000179984000999980003999800020000
  -60006000600039991999800000000, -60005999400119996000000000000
  1200060017998200060000000100020000, -1200219989999200080001999700020000
  26003199860014001200020000000200000000 ]
gap> DTP_Multiply(h, g, dto_r);
20000020000, -20000, -20000, -20000, -200000099980000
  -100000000100000000, -100020000, -100000000, -100020000, -100020000
  10002000020000000000002000200000000, -19998000200001999999980000
  2000000020000, -1999800000, -39998000100000000, -40001999699980000
  39998000300020000, -4000199990002000030000000099980000
  599920001999800000000600019997999800000000, -599940006000000020000
  -200040000000000000000200040002000000000000, -11999400019998000300020000
  -11999799940004000100020000, -4000599980009999900000000
  -4001000040002000500020000179984000999980003999800020000
  -60006000600039991999800000000, -60005999400119996000000000000
  1200060017998200060000000100020000, -1200219989999200080001999700020000
  26003199860014001200020000000200000000 ]
gap> DTP_Multiply(g_inv, h, dto_rs);
0, -2000000000, -20000, -200000, -200020000, -200000, -20000
  00, -200000000200001999799980000000, -200000000, -200020000
  -20000, -19997999600000000, -2000000000399980000200020000000020000
  199980004000200020000, -200000000, -200020000, -60000000200000
  -19998000000019998000000003999599980000200000000, -200000000
  19997999200019999999200020000, -199899997999800006000200000000
  -199979988001800159998000200000000, -80006000400020000 ]
gap> DTP_Multiply(g_inv, h, dto_r);
0, -2000000000, -20000, -200000, -200020000, -200000, -20000
  00, -200000000200001999799980000000, -200000000, -200020000
  -20000, -19997999600000000, -2000000000399980000200020000000020000
  199980004000200020000, -200000000, -200020000, -60000000200000
  -19998000000019998000000003999599980000200000000, -200000000
  19997999200019999999200020000, -199899997999800006000200000000
  -199979988001800159998000200000000, -80006000400020000 ]
gap> DTP_Multiply(h_inv, g, dto_rs);
02000000000200002000002000200002000002000000
  -200000000, -20000, -200019998000000020000000020002000020000
  19997999600000000, -2000000000, -3999800001999800000000, -20000
  -200020003999800020000200000000200020000, -5999999980000400000000
  199979999999799980000000080000000200004000200000000200000000
  20001999599859991999599980000599939997999800005999800000000
  199979991997799920001999400000000160010000000020000 ]
gap> DTP_Multiply(h_inv, g, dto_r);
02000000000200002000002000200002000002000000
  -200000000, -20000, -200019998000000020000000020002000020000
  19997999600000000, -2000000000, -3999800001999800000000, -20000
  -200020003999800020000200000000200020000, -5999999980000400000000
  199979999999799980000000080000000200004000200000000200000000
  20001999599859991999599980000599939997999800005999800000000
  199979991997799920001999400000000160010000000020000 ]
gap> coll := Collector(HeisenbergPcpGroup(20));;
gap> dto_rs := DTP_DTObjFromCollector(coll, true);;
gap> dto_r := DTP_DTObjFromCollector(coll, false);;
gap> g := [];; h := [];;
gap> for i in [1 .. NumberOfGenerators(coll)] do 
> Add(g, Random([-1000010000]));;
> Add(h, Random([-1000010000]));;
> od;

# test Exp
gap> z := Random([-10000 .. 10000]);; 
gap> DTP_Exp(g, z, dto_rs);
[ -63530000635300006353000063530000, -635300006353000063530000
  63530000, -63530000, -6353000063530000, -635300006353000063530000
  -63530000, -6353000063530000, -63530000, -63530000, -63530000, -63530000
  -6353000063530000, -635300006353000063530000, -6353000063530000
  6353000063530000, -63530000, -63530000, -63530000, -63530000, -63530000
  -63530000, -635300006353000063530000, -63530000, -8073392463530000 ]
gap> DTP_Exp(g, z, dto_r);  
[ -63530000635300006353000063530000, -635300006353000063530000
  63530000, -63530000, -6353000063530000, -635300006353000063530000
  -63530000, -6353000063530000, -63530000, -63530000, -63530000, -63530000
  -6353000063530000, -635300006353000063530000, -6353000063530000
  6353000063530000, -63530000, -63530000, -63530000, -63530000, -63530000
  -63530000, -635300006353000063530000, -63530000, -8073392463530000 ]
gap> z := Random([-10000 .. 10000]); 
-8508
gap> DTP_Exp(h, z, dto_rs);
[ -850800008508000085080000, -85080000, -85080000, -85080000, -85080000
  -850800008508000085080000, -85080000, -85080000, -8508000085080000
  -8508000085080000, -8508000085080000, -85080000, -8508000085080000
  -8508000085080000, -85080000, -85080000, -850800008508000085080000
  8508000085080000, -8508000085080000, -850800008508000085080000
  85080000, -85080000, -85080000, -850800008508000014478914314920000 ]
gap> DTP_Exp(h, z, dto_r);  
[ -850800008508000085080000, -85080000, -85080000, -85080000, -85080000
  -850800008508000085080000, -85080000, -85080000, -8508000085080000
  -8508000085080000, -8508000085080000, -85080000, -8508000085080000
  -8508000085080000, -85080000, -85080000, -850800008508000085080000
  8508000085080000, -8508000085080000, -850800008508000085080000
  85080000, -85080000, -85080000, -850800008508000014478914314920000 ]

# test Inverse 
gap> g_inv := DTP_Inverse(g, dto_rs);
[ -10000100001000010000, -10000100001000010000, -10000, -10000
  10000, -100001000010000, -10000, -1000010000, -10000, -10000, -10000
  -10000, -1000010000, -100001000010000, -10000100001000010000
  -10000, -10000, -10000, -10000, -10000, -10000, -100001000010000
  -10000, -400010000 ]
gap> g_inv := DTP_Inverse(g, dto_r);
[ -10000100001000010000, -10000100001000010000, -10000, -10000
  10000, -100001000010000, -10000, -1000010000, -10000, -10000, -10000
  -10000, -1000010000, -100001000010000, -10000100001000010000
  -10000, -10000, -10000, -10000, -10000, -10000, -100001000010000
  -10000, -400010000 ]
gap> h_inv := DTP_Inverse(h, dto_rs);
[ -100001000010000, -10000, -10000, -10000, -10000, -100001000010000
  -10000, -10000, -1000010000, -1000010000, -1000010000, -10000
  -1000010000, -1000010000, -10000, -10000, -10000100001000010000
  10000, -1000010000, -10000100001000010000, -10000, -10000, -10000
  10000399990000 ]
gap> h_inv := DTP_Inverse(h, dto_r);
[ -100001000010000, -10000, -10000, -10000, -10000, -100001000010000
  -10000, -10000, -1000010000, -1000010000, -1000010000, -10000
  -1000010000, -1000010000, -10000, -10000, -10000100001000010000
  10000, -1000010000, -10000100001000010000, -10000, -10000, -10000
  10000399990000 ]

# test Order
gap> DTP_Order(g, dto_rs);
infinity
gap> DTP_Order(g, dto_r);
infinity
gap> DTP_Order(g_inv, dto_rs);
infinity
gap> DTP_Order(g_inv, dto_r);
infinity
gap> DTP_Order(h, dto_rs);
infinity
gap> DTP_Order(h, dto_r);
infinity
gap> DTP_Order(h_inv, dto_rs);
infinity
gap> DTP_Order(h_inv, dto_r);
infinity

# test SolveEquation
gap> DTP_SolveEquation(g, h, dto_rs);
000200000200002000020000, -20000, -20000200000200000
  0, -2000020000, -2000000, -200000002000020000, -200000
  000, -200000, -20000, -20000, -2000002000020000, -20000
  -1000000000 ]
gap> DTP_SolveEquation(g, h, dto_r);
000200000200002000020000, -20000, -20000200000200000
  0, -2000020000, -2000000, -200000002000020000, -200000
  000, -200000, -20000, -20000, -2000002000020000, -20000
  -1000000000 ]
gap> DTP_SolveEquation(h, g, dto_rs);
000, -200000, -20000, -20000, -200002000020000, -200000
  -200000020000, -20000200000020000000, -20000, -20000
  2000000002000002000020000200000, -20000, -2000020000
  1000000000 ]
gap> DTP_SolveEquation(h, g, dto_r);
000, -200000, -20000, -20000, -200002000020000, -200000
  -200000020000, -20000200000020000000, -20000, -20000
  2000000002000002000020000200000, -20000, -2000020000
  1000000000 ]
gap> DTP_SolveEquation(g, g, dto_rs);
0000000000000000000000000
  0000000000000000 ]
gap> DTP_SolveEquation(g, g, dto_r);
0000000000000000000000000
  0000000000000000 ]

# test Multiply
gap> DTP_Multiply(g, h, dto_rs);
20000, -20000, -20000020000000000200000, -2000020000
  0002000020000020000, -2000020000000, -20000, -20000
  -200002000002000000020000000600020000 ]
gap> DTP_Multiply(g, h, dto_r);
20000, -20000, -20000020000000000200000, -2000020000
  0002000020000020000, -2000020000000, -20000, -20000
  -200002000002000000020000000600020000 ]
gap> DTP_Multiply(h, g, dto_rs);
20000, -20000, -20000020000000000200000, -2000020000
  0002000020000020000, -2000020000000, -20000, -20000
  -200002000002000000020000000, -599980000 ]
gap> DTP_Multiply(h, g, dto_r);
20000, -20000, -20000020000000000200000, -2000020000
  0002000020000020000, -2000020000000, -20000, -20000
  -200002000002000000020000000, -599980000 ]
gap> DTP_Multiply(g_inv, h, dto_rs);
000200000200002000020000, -20000, -20000200000200000
  0, -2000020000, -2000000, -200000002000020000, -200000
  000, -200000, -20000, -20000, -2000002000020000, -20000
  -1000000000 ]
gap> DTP_Multiply(g_inv, h, dto_r);
000200000200002000020000, -20000, -20000200000200000
  0, -2000020000, -2000000, -200000002000020000, -200000
  000, -200000, -20000, -20000, -2000002000020000, -20000
  -1000000000 ]
gap> DTP_Multiply(h_inv, g, dto_rs);
000, -200000, -20000, -20000, -200002000020000, -200000
  -200000020000, -20000200000020000000, -20000, -20000
  2000000002000002000020000200000, -20000, -2000020000
  1000000000 ]
gap> DTP_Multiply(h_inv, g, dto_r);
000, -200000, -20000, -20000, -200002000020000, -200000
  -200000020000, -20000200000020000000, -20000, -20000
  2000000002000002000020000200000, -20000, -2000020000
  1000000000 ]
gap> coll :=  Collector(ExamplesOfSomePcpGroups(15));;
gap> dto_rs := DTP_DTObjFromCollector(coll, true);;
gap> dto_r := DTP_DTObjFromCollector(coll, false);;
gap> g := [];; h := [];;
gap> for i in [1 .. NumberOfGenerators(coll)] do 
> Add(g, Random([-1000010000]));;
> Add(h, Random([-1000010000]));;
> od;

# test Exp
gap> z := Random([-10000 .. 10000]);; 
gap> DTP_Exp(g, z, dto_rs);
92050000, -92050000, -4236141092050000, -129971868233070592050000
  -2990815095313503530117407950000, -55057913377599016125787937550342050000
  -110100880156758943073960355176342050000
  550799350497856193059934279513364157950000
  -333190132268295754567543728099433497031805134782950000
  -16659507246821634096482014816489624607281781859205000000
  -20125361376646131996063707179733234456352487587472630611925000 ]
gap> DTP_Exp(g, z, dto_r);  
92050000, -92050000, -4236141092050000, -129971868233070592050000
  -2990815095313503530117407950000, -55057913377599016125787937550342050000
  -110100880156758943073960355176342050000
  550799350497856193059934279513364157950000
  -333190132268295754567543728099433497031805134782950000
  -16659507246821634096482014816489624607281781859205000000
  -20125361376646131996063707179733234456352487587472630611925000 ]
gap> z := Random([-10000 .. 10000]); 
-9478
gap> DTP_Exp(h, z, dto_rs);
94780000947800004492098005220000141927832731352944780000
  336315727281493096317994478000063755369157364718958860578366730220000
  -127527555784091143451623650779180220000
  -637043665417674432070529958834704280220000
  -409136243514281764209377423913490988225176772467720000
  20456812931239075111585449195045088549469389705522000000
  25450383745978067610171772784615454624882428543144130767170000 ]
gap> DTP_Exp(h, z, dto_r);  
94780000947800004492098005220000141927832731352944780000
  336315727281493096317994478000063755369157364718958860578366730220000
  -127527555784091143451623650779180220000
  -637043665417674432070529958834704280220000
  -409136243514281764209377423913490988225176772467720000
  20456812931239075111585449195045088549469389705522000000
  25450383745978067610171772784615454624882428543144130767170000 ]

# test Inverse 
gap> g_inv := DTP_Inverse(g, dto_rs);
[ -1000010000, -99990000499950010000, -1666666750010000
  416750045847501000016664166999875010000, -41699995416333074990000
  83343765622604201976249000041658332083583341715001000000
  -8331771183895508161202575015000 ]
gap> g_inv := DTP_Inverse(g, dto_r);
[ -1000010000, -99990000499950010000, -1666666750010000
  416750045847501000016664166999875010000, -41699995416333074990000
  83343765622604201976249000041658332083583341715001000000
  -8331771183895508161202575015000 ]
gap> h_inv := DTP_Inverse(h, dto_rs);
10000100009999000049985001000016656668500100004162501458324990000,
  -16659167499774990000, -41600023745166874990000
  -83239635193647656131249000041641673748750425014999000000
  8326564579480991690618125015000 ]
gap> h_inv := DTP_Inverse(h, dto_r);
10000100009999000049985001000016656668500100004162501458324990000,
  -16659167499774990000, -41600023745166874990000
  -83239635193647656131249000041641673748750425014999000000
  8326564579480991690618125015000 ]

# test Order
gap> DTP_Order(g, dto_rs);
infinity
gap> DTP_Order(g, dto_r);
infinity
gap> DTP_Order(g_inv, dto_rs);
infinity
gap> DTP_Order(g_inv, dto_r);
infinity
gap> DTP_Order(h, dto_rs);
infinity
gap> DTP_Order(h, dto_r);
infinity
gap> DTP_Order(h_inv, dto_rs);
infinity
gap> DTP_Order(h_inv, dto_r);
infinity

# test SolveEquation
gap> DTP_SolveEquation(g, h, dto_rs);
[ -200000, -1999800001999900000000, -13333333500020000
  66673335166950020000266616671499750000000, -2000266608341666150000000
  266743341331208646639249800001999400051665999783350002000000
  -399944996222209830264653900025000 ]
gap> DTP_SolveEquation(g, h, dto_r);
[ -200000, -1999800001999900000000, -13333333500020000
  66673335166950020000266616671499750000000, -2000266608341666150000000
  266743341331208646639249800001999400051665999783350002000000
  -399944996222209830264653900025000 ]
gap> DTP_SolveEquation(h, g, dto_rs);
20000019998000019997000000001332933370002000066633339166649980000,
  -266596671499950000000, -1998666914988332950000000
  -266483393990458734998249800001999266791653000550009998000000
  399815030551635232756485400025000 ]
gap> DTP_SolveEquation(h, g, dto_r);
20000019998000019997000000001332933370002000066633339166649980000,
  -266596671499950000000, -1998666914988332950000000
  -266483393990458734998249800001999266791653000550009998000000
  399815030551635232756485400025000 ]
gap> DTP_SolveEquation(g, g, dto_rs);
000000000000, -5000 ]
gap> DTP_SolveEquation(g, g, dto_r);
000000000000, -5000 ]

# test Multiply
gap> DTP_Multiply(g, h, dto_rs);
0, -20000100000000, -4999500200001666666750000000, -4167500458475000000,
  749800012498000041633328754333074980000833062710427277980837500000
  -416583437492498916350000000004169269913720441278201325000000 ]
gap> DTP_Multiply(g, h, dto_r);
0, -20000100000000, -4999500200001666666750000000, -4167500458475000000,
  749800012498000041633328754333074980000833062710427277980837500000
  -416583437492498916350000000004169269913720441278201325000000 ]
gap> DTP_Multiply(h, g, dto_rs);
0, -20000, -100000000, -499850020000, -1665666850000000
  -4162501458325000000, -249949982502000041633347085166074980000
  -832604447875220436487500000, -41641672084083274995000000000
  -4164063183922582739617275000000 ]
gap> DTP_Multiply(h, g, dto_r);
0, -20000, -100000000, -499850020000, -1665666850000000
  -4162501458325000000, -249949982502000041633347085166074980000
  -832604447875220436487500000, -41641672084083274995000000000
  -4164063183922582739617275000000 ]
gap> DTP_Multiply(g_inv, h, dto_rs);
[ -200000, -1999800001999900000000, -13333333500020000
  66673335166950020000266616671499750000000, -2000266608341666150000000
  266743341331208646639249800001999400051665999783350002000000
  -399944996222209830264653900030000 ]
gap> DTP_Multiply(g_inv, h, dto_r);
[ -200000, -1999800001999900000000, -13333333500020000
  66673335166950020000266616671499750000000, -2000266608341666150000000
  266743341331208646639249800001999400051665999783350002000000
  -399944996222209830264653900030000 ]
gap> DTP_Multiply(h_inv, g, dto_rs);
20000019998000019997000000001332933370002000066633339166649980000,
  -266596671499950000000, -1998666914988332950000000
  -266483393990458734998249800001999266791653000550009998000000
  399815030551635232756485400030000 ]
gap> DTP_Multiply(h_inv, g, dto_r);
20000019998000019997000000001332933370002000066633339166649980000,
  -266596671499950000000, -1998666914988332950000000
  -266483393990458734998249800001999266791653000550009998000000
  399815030551635232756485400030000 ]
gap> STOP_TEST( "highlevel.tst", 10000 );

[Verzeichnis aufwärts0.8unsichere VerbindungÜbersetzung europäischer Sprachen durch Browser2026-06-17]