source: git/Tst/Buch/Example_1_9_13.tst @ 9faaf0

spielwiese
Last change on this file since 9faaf0 was 9faaf0, checked in by Hans Schönemann <hannes@…>, 17 years ago
*hannes: syntax fix git-svn-id: file:///usr/local/Singular/svn/trunk@10214 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 360 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;
12ncalgebra(C,D);
13r;
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.