spielwiese
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:
390 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "control.lib"; |
---|
3 | // Flexible Rod |
---|
4 | ring A = 0,(D1, D2), (c,dp); |
---|
5 | module R= [D1, -D1*D2, -1], [2*D1*D2, -D1-D1*D2^2, 0]; |
---|
6 | module RR = transpose(R); |
---|
7 | list L = control(RR); |
---|
8 | // here, we have the annihilator: |
---|
9 | ideal LAnn = D1; // = L[10] |
---|
10 | module Tr = findTorsion(RR,LAnn); |
---|
11 | print(RR); // the module itself |
---|
12 | print(Tr); // generators of the torsion submodule |
---|
13 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.