source: git/Tst/Short/hilb_weights.tst @ 4e59df4

spielwiese
Last change on this file since 4e59df4 was e6ad3eb, checked in by Olaf Bachmann <obachman@…>, 23 years ago
* added test to hilbert function with weights git-svn-id: file:///usr/local/Singular/svn/trunk@4656 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 349 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4intvec w=23,11,11*23,11*23;
5ring s2=32003,(t,x,y,z),(wp(w));
6ideal i=
79x8+y7t+5x4y2t2+2xy2z3t2,
89y8+7xy6t+2x5yt2+2x2yz3t2,
99z8+3x2y2z2t2;
10option(prot);
11ideal j = subst(i,t, t^11);
12j=subst(j,x,x23);
13ideal std_j = std(j);
14intvec v_j = hilb(std_j, 1, w);
15ideal k=std(j,v_j,w);
16
17matrix(k) == matrix(std_j);
18
19tst_status(1);$
20
Note: See TracBrowser for help on using the repository browser.