source: git/Tst/Old/m18ex.tst @ b35b93

spielwiese
Last change on this file since b35b93 was b35b93, checked in by Olaf Bachmann <obachman@…>, 26 years ago
This commit was generated by cvs2svn to compensate for changes in r1396, which included commits to RCS files with non-trunk default branches. git-svn-id: file:///usr/local/Singular/svn/trunk@1397 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.2 KB
Line 
1  LIB "hnoether.lib";
2  // ======== The irreducible case ========
3  ring s = 0,(x,y),ds;
4  poly f = y4-2x3y2-4x5y+x6-x7;
5  list hn = develop(f);
6  show(hn[1]);     // Hamburger-Noether matrix
7  displayHNE(hn);  // Hamburger-Noether developement
8  setring s;
9  displayInvariants(hn);
10  // invariants(hn); will return the invariants as list
11  param(hn);       // partial parametrization of f
12                   // param takes the first variable as
13                   // except the ring has >2 variables
14  ring extring=0,(x,y,t),ds;
15  poly f=x3+2xy2+y2;
16  list hn=develop(f,-1);
17  param(hn);       // partial parametrization of f
18  list hn1=develop(f,6); 
19  param(hn1);     // a better parametrization
20  // instead or recomputing you may extend the developement:
21  list hn2=extdevelop(hn,12);
22  param(hn2);     // a still better parametrization
23  // ======== The reducible case ========
24  ring r = 0,(x,y),dp;
25  poly f=x11-2y2x8-y3x7-y2x6+y4x5+2y4x3+y5x2-y6;
26  // = (x5-1y2) * (x6-2x3y2-1x2y3+y4)
27  list hn=reddevelop(f);
28  show(hn[1][1]);     // Hamburger-Noether matrix of 1st brach
29  displayInvariants(hn);
30  param(hn[2]);      // parametrization of 2nd branch
31  // extended parametrization of 1st
32$
Note: See TracBrowser for help on using the repository browser.