source: git/Tst/Short/bug_liftstd2.tst

spielwiese
Last change on this file was 30e184, checked in by Hans Schoenemann <hannes@…>, 3 years ago
fix: liftstd with 2 args (and clean up)
  • Property mode set to 100644
File size: 458 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4// lifstd with redLiftstd, relative version
5
6LIB "matrix.lib";
7
8ring R = 0,(x,y,z),(c,dp);
9
10matrix A[1][1] = x;
11matrix B[1][2] = x+y-z,x-y-z;
12
13matrix C[nrows(A)][ncols(A) + ncols(B)] = concat(A,B);
14
15matrix G1 = std(C);
16
17matrix T;
18module G2 = liftstd(module(A), T, "std", module(B));
19
20print("");
21print("reduce(G1,G2):");
22print(reduce(G1,G2));
23print("reduce(A*T-G2,std(B)):");
24print(reduce(A*T-matrix(G2),std(B)));
25
26tst_status(1);$
Note: See TracBrowser for help on using the repository browser.