spielwiese
Last change
on this file since a7efa79 was
a7efa79,
checked in by Hans Schönemann <hannes@…>, 17 years ago
|
*hannes: new book version
git-svn-id: file:///usr/local/Singular/svn/trunk@10182 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
491 bytes
|
Rev | Line | |
---|
[a7efa79] | 1 | LIB "tst.lib"; |
---|
| 2 | tst_init(); |
---|
| 3 | |
---|
| 4 | =============================== example 1.9.31 ============================== |
---|
| 5 | |
---|
| 6 | LIB "ncalg.lib"; |
---|
| 7 | def R = makeQso3(3); |
---|
| 8 | setring R; |
---|
| 9 | option(redSB); option(redTail); // for reduced output |
---|
| 10 | ideal K = x+y+z,y+z,z; |
---|
| 11 | module S = syz(K); // the (left) syzygy module of K |
---|
| 12 | print(S); |
---|
| 13 | |
---|
| 14 | ideal tst = ideal(transpose(S)*transpose(K)); |
---|
| 15 | print(matrix(tst)); |
---|
| 16 | |
---|
| 17 | K = x,y,z; |
---|
| 18 | S = syz(K); |
---|
| 19 | print(S); |
---|
| 20 | |
---|
| 21 | option(returnSB); |
---|
| 22 | S = syz(K); |
---|
| 23 | print(S); |
---|
| 24 | |
---|
| 25 | tst_status(1);$ |
---|
| 26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.