source: git/Tst/Short/liftstd_m.tst @ 17b0ccf

spielwiese
Last change on this file since 17b0ccf was 17b0ccf, checked in by Hans Schoenemann <hannes@…>, 3 years ago
interpreter: liftstd with 4 args
  • Property mode set to 100644
File size: 664 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4// liftstd with all combinations of optional arguments
5
6ring R = 0,(x,y,z),lp;
7matrix A[2][3] = x,x,y,y,z,z;
8module A1=module(A);
9module A2=A1[3];
10A1=A1[1..2];
11matrix T;
12module S;
13
14print(liftstd(module(A),T,S));
15print(T);
16print(S);
17
18print(liftstd(module(A),T,"std"));
19print(T);
20
21print(liftstd(A1,T,A2));
22print(T);
23
24print(liftstd(module(A),T,S,"std"));
25print(T);
26print(S);
27
28print(liftstd(A1,T,S,A2));
29print(T);
30print(S);
31
32print(liftstd(A1,T,"std",A2));
33print(T);
34
35print(liftstd(A1,T,S,"std",A2));
36print(T);
37print(S);
38S=modulo(A1,A2,T,"std");
39print(T);
40print(S);
41
42// with liftstd: G=liftStd(M1,T,S, M2): S=modulo(M1,M2,T)
43tst_status(1);$
Note: See TracBrowser for help on using the repository browser.