source: git/Tst/Manual/normaliz.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: 340 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "normaliz.lib";
3ring R=0,(x,y,z),dp;
4intmat M[3][2]=3,1,
53,2,
61,3;
7normaliz(M,1);
8intmat Hyperplanes[2][3] = 2,-1,0, // 2x-y >= 0
91, 1,0; //  x+y >= 0
10intmat Equation[1][3] = 0,1,-1;    // y = z
11intmat Congruence[1][4] = 1,0,0,3;  // x = 0 (3)
12normaliz(Hyperplanes,4,Equation,5,Congruence,6);
13tst_status(1);$
Note: See TracBrowser for help on using the repository browser.