source: git/Tst/Short/liftstd_m.tst @ 3648b2

spielwiese
Last change on this file since 3648b2 was 3648b2, checked in by Fabian Zickgraf <f.zickgraf@…>, 3 years ago
Fix liftstd with 5 arguments and adapt tests The line got lost in 17b0ccfd5d571f60393bcf29e604b2e379449352
  • Property mode set to 100644
File size: 773 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(module(A),T,S,"std"));
22print(T);
23print(S);
24
25// relative versions
26
27// the three-argument relative version is not implemented and would overwrite A2
28// print(liftstd(A1,T,A2));
29// print(T);
30
31print(liftstd(A1,T,S,A2));
32print(T);
33print(S);
34
35print(liftstd(A1,T,"std",A2));
36print(T);
37
38print(liftstd(A1,T,S,"std",A2));
39print(T);
40print(S);
41S=modulo(A1,A2,T,"std");
42print(T);
43print(S);
44
45// with liftstd: G=liftStd(M1,T,S, M2): S=modulo(M1,M2,T)
46tst_status(1);$
Note: See TracBrowser for help on using the repository browser.