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
|
Rev | Line | |
---|
[19764c6] | 1 | "ndebug?: ", system("with", "ndebug"); |
---|
| 2 | "om_ndebug?: ", system("with", "om_ndebug"); |
---|
| 3 | |
---|
[986225e] | 4 | listvar(Top); |
---|
| 5 | |
---|
[19764c6] | 6 | if( system("with", "ndebug") ) |
---|
| 7 | { |
---|
| 8 | "Loading the Release version!"; |
---|
[1114d2] | 9 | LIB("syzextra.so"); |
---|
[986225e] | 10 | listvar(Syzextra); |
---|
[19764c6] | 11 | } |
---|
| 12 | else |
---|
| 13 | { |
---|
| 14 | "Loading the Debug version!"; |
---|
[b5d6f0] | 15 | LIB("syzextra.so"); |
---|
| 16 | listvar(Syzextra); |
---|
[19764c6] | 17 | } |
---|
[4f7d76] | 18 | |
---|
[986225e] | 19 | |
---|
[4f7d76] | 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 | |
---|
[0917a96] | 38 | leadmonom(v);leadcomp(v); |
---|
[4f7d76] | 39 | leadrawexp(v); |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | def l = res(I, 0); DetailedPrint(l); |
---|
| 45 | |
---|
[643877c] | 46 | exit; |
---|
| 47 | |
---|
[4f7d76] | 48 | |
---|
Note: See
TracBrowser
for help on using the repository browser.