spielwiese
Last change
on this file since 6fb723 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:
266 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | ring r=0,(x,y,z),(c,dp); |
---|
3 | matrix A[2][2]=x,y,z,1; |
---|
4 | matrix B[2][2]=x2,y2,z2,xz; |
---|
5 | print(B); |
---|
6 | def C=modulo(A,B); |
---|
7 | print(C); // matrix of generators for the kernel |
---|
8 | print(A*matrix(C)); // should be in Im(B) |
---|
9 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.