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 | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | |
---|
4 | // lifstd with redLiftstd, relative version |
---|
5 | |
---|
6 | LIB "matrix.lib"; |
---|
7 | |
---|
8 | ring R = 0,(x,y,z),(c,dp); |
---|
9 | |
---|
10 | matrix A[1][1] = x; |
---|
11 | matrix B[1][2] = x+y-z,x-y-z; |
---|
12 | |
---|
13 | matrix C[nrows(A)][ncols(A) + ncols(B)] = concat(A,B); |
---|
14 | |
---|
15 | matrix G1 = std(C); |
---|
16 | |
---|
17 | matrix T; |
---|
18 | module G2 = liftstd(module(A), T, "std", module(B)); |
---|
19 | |
---|
20 | print(""); |
---|
21 | print("reduce(G1,G2):"); |
---|
22 | print(reduce(G1,G2)); |
---|
23 | print("reduce(A*T-G2,std(B)):"); |
---|
24 | print(reduce(A*T-matrix(G2),std(B))); |
---|
25 | |
---|
26 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.