source: git/Tst/Short/bug_tr237.tst

spielwiese
Last change on this file was a0707f8, checked in by Hans Schoenemann <hannes@…>, 7 years ago
code review: rings with Zn Znm, Z2m coefficients, changed nlGMP
  • Property mode set to 100644
File size: 1.2 KB
Line 
1LIB "tst.lib";
2tst_init();
3
4// charstr +execute: ring represenation
5string S;
6
7ring r0dp = (0,t),(x,y),dp;
8string(basering);
9charstr(basering);
10S = "ring rnew = ("+charstr(basering)+"),("+ varstr(basering) +"),"+"lp;";
11S;
12execute(S);
13basering;
14
15// ----------------------------------------------------
16
17ring rZ = integer,(x,y),dp;
18string(basering);
19
20charstr(basering);
21
22S = "ring rnew = ("+charstr(basering)+"),("+ varstr(basering) +"),"+"lp;";
23S;
24execute(S);
25basering;
26
27// ----------------------------------------------------
28
29ring rZ8 = (integer,8),(x,y),dp;
30string(basering);
31
32charstr(basering);
33S = "ring rnew = ("+charstr(basering)+"),("+ varstr(basering) +"),"+"lp;";
34S;
35
36execute(S);
37basering;
38
39ringlist(basering);
40
41ring r = (real,50),(x,y,z),dp;
42string(basering);
43
44ring r = (real,10,50),(x,y,z),dp;
45string(basering);
46
47ring cR1050 = (complex,10,50),(x,y),dp;
48basering;
49
50charstr(basering);
51S = "ring cR1050new = ("+charstr(basering)+"),("+ varstr(basering) +"),"+"lp;";
52S;
53execute(S);
54
55ring r6int = (integer,6,3),x,dp;
56string(basering);
57charstr(basering);
58
59ring r5int = (integer,5,3),x,dp;
60string(basering);
61charstr(basering);
62
63ring r2int = (integer,2,3),x,dp;
64string(basering);
65charstr(basering);
66
67
68tst_status(1);$
Note: See TracBrowser for help on using the repository browser.