source: git/Tst/Manual/nonMonomials.tst @ cbf01b

fieker-DuValspielwiese
Last change on this file since cbf01b 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: 779 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "pointid.lib";
3ring R1 = 0,x(1..3),rp;
4vector a1 = [4,0,0];
5vector a2 = [2,1,4];
6vector a3 = [2,4,0];
7vector a4 = [3,0,1];
8vector a5 = [2,1,3];
9vector a6 = [1,3,4];
10vector a7 = [2,4,3];
11vector a8 = [2,4,2];
12vector a9 = [1,0,2];
13list A = a1,a2,a3,a4,a5,a6,a7,a8,a9;
14nonMonomials(A);
15matrix MAT[9][3] = 4,0,0,2,1,4,2,4,0,3,0,1,2,1,3,1,3,4,2,4,3,2,4,2,1,0,2;
16MAT = transpose(MAT);
17print(MAT);
18nonMonomials(MAT);
19module MOD = gen(3),gen(2)-2*gen(3),2*gen(1)+2*gen(3),2*gen(2)-2*gen(3),gen(1)+3*gen(3),gen(1)+gen(2)+3*gen(3),gen(1)+gen(2)+gen(3);
20print(MOD);
21nonMonomials(MOD);
22ring R2 = 0,x(1..2),rp;
23list l1 = 0,0;
24list l2 = 0,1;
25list l3 = 2,0;
26list l4 = 0,2;
27list l5 = 1,0;
28list l6 = 1,1;
29list L = l1,l2,l3,l4,l5,l6;
30nonMonomials(L);
31tst_status(1);$
Note: See TracBrowser for help on using the repository browser.