source: git/Tst/Manual/findTorsion.tst @ 951db29

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