fieker-DuValspielwiese
Last change
on this file since 42ea848 was
894057,
checked in by Oleksandr Motsak <motsak@…>, 13 years ago
|
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
|
-
Property mode set to
100644
|
File size:
278 bytes
|
Rev | Line | |
---|
[894057] | 1 | LIB "tst.lib"; tst_init(); |
---|
| 2 | LIB "toric.lib"; |
---|
| 3 | ring r=0,(x,y,z),dp; |
---|
| 4 | // call with two arguments |
---|
| 5 | intmat A[2][3]=1,1,0,0,1,1; |
---|
| 6 | A; |
---|
| 7 | ideal I=toric_ideal(A,"du"); |
---|
| 8 | I; |
---|
| 9 | I=toric_ideal(A,"blr"); |
---|
| 10 | I; |
---|
| 11 | // call with three arguments |
---|
| 12 | intvec prsv=1,2,1; |
---|
| 13 | I=toric_ideal(A,"blr",prsv); |
---|
| 14 | I; |
---|
| 15 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.