spielwiese
Last change
on this file since b5d6f0 was
b5d6f0,
checked in by Oleksandr Motsak <motsak@…>, 10 years ago
|
Use .so dynamic modules (no more _g.so[g]?!)
|
-
Property mode set to
100644
|
File size:
577 bytes
|
Line | |
---|
1 | "ndebug?: ", system("with", "ndebug"); |
---|
2 | "om_ndebug?: ", system("with", "om_ndebug"); |
---|
3 | |
---|
4 | listvar(Top); |
---|
5 | |
---|
6 | if( system("with", "ndebug") ) |
---|
7 | { |
---|
8 | "Loading the Release version!"; |
---|
9 | LIB("syzextra.so"); |
---|
10 | listvar(Syzextra); |
---|
11 | } |
---|
12 | else |
---|
13 | { |
---|
14 | "Loading the Debug version!"; |
---|
15 | LIB("syzextra.so"); |
---|
16 | listvar(Syzextra); |
---|
17 | } |
---|
18 | |
---|
19 | |
---|
20 | noop(); |
---|
21 | |
---|
22 | ring r; |
---|
23 | |
---|
24 | DetailedPrint(r); |
---|
25 | |
---|
26 | poly p = x +y +z; |
---|
27 | |
---|
28 | DetailedPrint(p, 2); |
---|
29 | |
---|
30 | ideal I = maxideal(1); |
---|
31 | |
---|
32 | DetailedPrint(I, 2); |
---|
33 | |
---|
34 | vector v =3 *xyz * [0, 0, 1, x, y, z]; |
---|
35 | v; |
---|
36 | DetailedPrint(v, 2); |
---|
37 | |
---|
38 | leadmonom(v);leadcomp(v); |
---|
39 | leadrawexp(v); |
---|
40 | |
---|
41 | |
---|
42 | |
---|
43 | |
---|
44 | def l = res(I, 0); DetailedPrint(l); |
---|
45 | |
---|
46 | exit; |
---|
47 | |
---|
48 | |
---|
Note: See
TracBrowser
for help on using the repository browser.