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