fieker-DuValspielwiese
Last change
on this file since b7fbc4 was
1cbc28,
checked in by Oleksandr Motsak <motsak@…>, 12 years ago
|
updated test according to legacy Singular + new lists of tests
|
-
Property mode set to
100644
|
File size:
365 bytes
|
Rev | Line | |
---|
[47ca23] | 1 | LIB "tst.lib"; |
---|
| 2 | tst_init(); |
---|
| 3 | |
---|
| 4 | // bug in coefss-3 |
---|
| 5 | ring r=0,(x,y,z),dp; |
---|
| 6 | poly f = x4+2x2+x3y4+y5+z7; |
---|
| 7 | matrix T; |
---|
| 8 | matrix M = coeffs(f,y,T); |
---|
| 9 | T; |
---|
| 10 | // should be true: |
---|
| 11 | T*M == f; |
---|
| 12 | //--------------- |
---|
| 13 | ring R=0,(x,y,z),dp; |
---|
| 14 | ideal I = x3y4+z7+y5+x4+2x2,x2y+y3; |
---|
| 15 | matrix TT; |
---|
| 16 | matrix MM = coeffs(I,y); |
---|
| 17 | print (MM); |
---|
| 18 | matrix NN = coeffs(I,y,TT); |
---|
[1cbc28] | 19 | // should be similar: |
---|
[47ca23] | 20 | TT*NN; |
---|
| 21 | I; |
---|
| 22 | |
---|
| 23 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.