spielwiese
Last change
on this file since 0f2fcb4 was
e6ad3eb,
checked in by Olaf Bachmann <obachman@…>, 24 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 | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | |
---|
4 | intvec w=23,11,11*23,11*23; |
---|
5 | ring s2=32003,(t,x,y,z),(wp(w)); |
---|
6 | ideal i= |
---|
7 | 9x8+y7t+5x4y2t2+2xy2z3t2, |
---|
8 | 9y8+7xy6t+2x5yt2+2x2yz3t2, |
---|
9 | 9z8+3x2y2z2t2; |
---|
10 | option(prot); |
---|
11 | ideal j = subst(i,t, t^11); |
---|
12 | j=subst(j,x,x23); |
---|
13 | ideal std_j = std(j); |
---|
14 | intvec v_j = hilb(std_j, 1, w); |
---|
15 | ideal k=std(j,v_j,w); |
---|
16 | |
---|
17 | matrix(k) == matrix(std_j); |
---|
18 | |
---|
19 | tst_status(1);$ |
---|
20 | |
---|
Note: See
TracBrowser
for help on using the repository browser.