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