source: git/Tst/Old/m10ex.tst @ e706ff

fieker-DuValspielwiese
Last change on this file since e706ff was db7ee4, checked in by Hans Schönemann <hannes@…>, 19 years ago
*hannes: homolog::Ext_R changes git-svn-id: file:///usr/local/Singular/svn/trunk@8245 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 947 bytes
Line 
1  LIB "homolog.lib";
2  ring R=0,(x,y),ds;
3  ideal i=x2-y3;
4  qring q = std(i);          // defines the quotient ring Loc_k[x,y]/(x2-y3)
5  ideal m = maxideal(1);
6  module T1K = Ext(1,m,m);   // computes Ext^1(R/m,R/m)
7  print(T1K);
8  printlevel=2;              // gives more explanation
9  module T2K=Ext(2,m,m);     // computes Ext^2(R/m,R/m)
10  print(std(T2K));
11  printlevel=0;
12  module E = Ext(1,syz(m),syz(m));
13  print(std(E));               
14  //We see from the matrices that T2K and E are isomorphic
15  //as it should be; but both are differently presented
16  //-------------------------------------------
17  ring R=0,(x,y,z),dp;
18  ideal  i = x2y,y2z,z3x;
19  module E = Ext_R(2,i);
20  print(E);
21  // if a 3-rd argument is given (of type int)
22  // a list of Ext^k(R/i,R), a SB of Ext^k(R/i,R) and a vector space basis
23  // is returned:
24  list LE = Ext_R(3,i,0);
25  LE;
26  print(LE[2]);
27  print(kbase(LE[2]));
28  killall();
29LIB "tst.lib";tst_status(1);$
Note: See TracBrowser for help on using the repository browser.