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 | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | |
---|
4 | // liftstd with all combinations of optional arguments |
---|
5 | |
---|
6 | ring R = 0,(x,y,z),lp; |
---|
7 | matrix A[2][3] = x,x,y,y,z,z; |
---|
8 | module A1=module(A); |
---|
9 | module A2=A1[3]; |
---|
10 | A1=A1[1..2]; |
---|
11 | matrix T; |
---|
12 | module S; |
---|
13 | |
---|
14 | print(liftstd(module(A),T,S)); |
---|
15 | print(T); |
---|
16 | print(S); |
---|
17 | |
---|
18 | print(liftstd(module(A),T,"std")); |
---|
19 | print(T); |
---|
20 | |
---|
21 | print(liftstd(A1,T,A2)); |
---|
22 | print(T); |
---|
23 | |
---|
24 | print(liftstd(module(A),T,S,"std")); |
---|
25 | print(T); |
---|
26 | print(S); |
---|
27 | |
---|
28 | print(liftstd(A1,T,S,A2)); |
---|
29 | print(T); |
---|
30 | print(S); |
---|
31 | |
---|
32 | print(liftstd(A1,T,"std",A2)); |
---|
33 | print(T); |
---|
34 | |
---|
35 | print(liftstd(A1,T,S,"std",A2)); |
---|
36 | print(T); |
---|
37 | print(S); |
---|
38 | S=modulo(A1,A2,T,"std"); |
---|
39 | print(T); |
---|
40 | print(S); |
---|
41 | |
---|
42 | // with liftstd: G=liftStd(M1,T,S, M2): S=modulo(M1,M2,T) |
---|
43 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.