source: git/Tst/Buch/Example_1_9_13.tst @ 107aac

fieker-DuValspielwiese
Last change on this file since 107aac was e0b657, checked in by Hans Schönemann <hannes@…>, 17 years ago
*hannes: ncalgebra -> nc_algebra git-svn-id: file:///usr/local/Singular/svn/trunk@10367 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 378 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4// ======================== example 1.9.3 =====================================
5ring r = 0,(e,f,h),dp;
6matrix C[3][3];
7C[1,2] = 1; C[1,3] = 1; C[2,3] = 1;
8matrix D[3][3];
9D[1,2] = -h;
10D[1,3] = 2e;
11D[2,3] = -2f;
12def S=nc_algebra(C,D); setring S;
13S;
14fe; // "commutative" syntax, not correct
15f*e; // correct non-commutative syntax
16
17tst_status(1);$
18
Note: See TracBrowser for help on using the repository browser.