source: git/Tst/Manual/GKZsystem.tst @ 951db29

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