source: git/dyn_modules/syzextra/syzextra.tst @ b5d6f0

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
RevLine 
[19764c6]1"ndebug?: ", system("with", "ndebug");
2"om_ndebug?: ", system("with", "om_ndebug");
3
[986225e]4listvar(Top);
5
[19764c6]6if( system("with", "ndebug") )
7{
8  "Loading the Release version!";
[1114d2]9  LIB("syzextra.so");
[986225e]10  listvar(Syzextra);
[19764c6]11}
12else
13{
14  "Loading the Debug version!";
[b5d6f0]15  LIB("syzextra.so");
16  listvar(Syzextra);
[19764c6]17}
[4f7d76]18
[986225e]19
[4f7d76]20noop();
21
22ring r;
23
24DetailedPrint(r);
25
26poly p = x +y +z;
27
28DetailedPrint(p, 2);
29
30ideal I = maxideal(1);
31
32DetailedPrint(I, 2);
33
34vector v =3 *xyz * [0, 0, 1, x, y, z];
35v;
36DetailedPrint(v, 2);
37
[0917a96]38leadmonom(v);leadcomp(v);
[4f7d76]39leadrawexp(v);
40
41
42
43
44def l = res(I, 0); DetailedPrint(l);
45
[643877c]46exit;
47
[4f7d76]48
Note: See TracBrowser for help on using the repository browser.