spielwiese
Last change
on this file since 564136 was
dd5534,
checked in by Frank Seelisch <seelisch@…>, 13 years ago
|
fixed dim of ideal and sum of ideals over rings (with Anne)
git-svn-id: file:///usr/local/Singular/svn/trunk@13973 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
620 bytes
|
Rev | Line | |
---|
[dd5534] | 1 | // |
---|
| 2 | // test script for dim over rings |
---|
| 3 | // |
---|
| 4 | LIB "tst.lib"; |
---|
| 5 | tst_init(); |
---|
| 6 | |
---|
| 7 | // case over a field -- just to make sure nothing was broken by adding Z[x] |
---|
| 8 | ring r=0,(x,y),dp; |
---|
| 9 | ideal I=2,x; |
---|
| 10 | dim(std(I)); |
---|
| 11 | I=x; |
---|
| 12 | dim(std(I)); |
---|
| 13 | kill r; |
---|
| 14 | ring r=0,(x,y),ds; |
---|
| 15 | ideal I=2-x,y; |
---|
| 16 | dim(std(I)); |
---|
| 17 | // case over integers |
---|
| 18 | ring r=integer,(x,y),dp; |
---|
| 19 | ideal I=2,x; |
---|
| 20 | dim(std(I)); |
---|
| 21 | I=x; |
---|
| 22 | dim(std(I)); |
---|
| 23 | kill r; |
---|
| 24 | // case over Z/2^n |
---|
| 25 | ring r=(integer,2,4),(x,y),dp; |
---|
| 26 | ideal I=2,x; |
---|
| 27 | dim(std(I)); |
---|
| 28 | I=3,x; |
---|
| 29 | dim(std(I)); |
---|
| 30 | I=x; |
---|
| 31 | dim(std(I)); |
---|
| 32 | kill r; |
---|
| 33 | // case over Z/m |
---|
| 34 | ring r=(integer,10),(x,y),dp; |
---|
| 35 | ideal I=2,x; |
---|
| 36 | dim(std(I)); |
---|
| 37 | I=3,x; |
---|
| 38 | dim(std(I)); |
---|
| 39 | I=x; |
---|
| 40 | dim(std(I)); |
---|
| 41 | kill r; |
---|
| 42 | |
---|
| 43 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.