source: git/Tst/Manual/weightedRing.tst @ 42ea848

spielwiese
Last change on this file since 42ea848 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: 279 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "nctools.lib";
3ring r = (0,q),(a,b,c,d),lp;
4matrix C[4][4];
5C[1,2]=q; C[1,3]=q; C[1,4]=1; C[2,3]=1; C[2,4]=q; C[3,4]=q;
6matrix D[4][4];
7D[1,4]=(q-1/q)*b*c;
8def S = nc_algebra(C,D); setring S; S;
9def t=weightedRing(S);
10setring t; t;
11tst_status(1);$
Note: See TracBrowser for help on using the repository browser.