fieker-DuValspielwiese
Last change
on this file since 951db29 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:
333 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | ring r=0,(x,y,z),dp; |
---|
3 | matrix D[3][3]; |
---|
4 | D[1,2]=z; |
---|
5 | def R=nc_algebra(1,D); // it is a Heisenberg algebra |
---|
6 | setring R; |
---|
7 | ideal i=z2+z,x+y; |
---|
8 | resolution re=nres(i,0); |
---|
9 | re; |
---|
10 | list l = re; |
---|
11 | l; |
---|
12 | print(matrix(l[2])); |
---|
13 | print(module(transpose(matrix(l[2]))*transpose(matrix(l[1])))); // check that product is zero |
---|
14 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.