source: git/Tst/Buch/Example_1_9_31.tst

spielwiese
Last change on this file was 75f460, checked in by Hans Schoenemann <hannes@…>, 9 years ago
format
  • Property mode set to 100644
File size: 731 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4// =============================== example 1.9.31 ==============================
5
6LIB "ncalg.lib";
7def R = makeQso3(3);
8setring R; R;
9option(redSB); option(redTail); // for reduced output
10
11ideal K = x+y+z,y+z,z;
12option(); module S = syz(K);        // the (left) syzygy module of K
13print(S); print( size( module(transpose(S)*transpose(K)) ) );
14
15K = x,y,z;
16option(); S = syz(K);
17print(S); print( size( module(transpose(S)*transpose(K)) ) );
18
19option(returnSB);
20
21option(); S = syz(K);
22print(S); print( size( module(transpose(S)*transpose(K)) ) );
23
24K = x+y+z,y+z,z;
25option(); S = syz(K);        // the (left) syzygy module of K
26print(S); print( size( module(transpose(S)*transpose(K)) ) );
27
28tst_status(1);$
29
Note: See TracBrowser for help on using the repository browser.