spielwiese
Last change
on this file since 951db29 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:
344 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "ncalg.lib"; |
---|
3 | // example 3.1.4 from the [SST] without the vector w |
---|
4 | intmat A[2][4]=3,2,1,0,0,1,2,3; |
---|
5 | print(A); |
---|
6 | def D1 = GKZsystem(A,"lp","ect"); |
---|
7 | setring D1; |
---|
8 | D1; |
---|
9 | print(GKZid); |
---|
10 | // now, consider A with the vector w=1,1,1,1 |
---|
11 | intvec v=1,1,1,1; |
---|
12 | def D2 = GKZsystem(A,"lp","blr",v); |
---|
13 | setring D2; |
---|
14 | print(GKZid); |
---|
15 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.