source: git/Tst/Manual/createTorsionFreeGroup.tst @ c2f6bd

spielwiese
Last change on this file since c2f6bd 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: 403 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "multigrading.lib";
3// ----------- extreme case ------------ //
4intmat S[1][3] =
51,  -1, 10;
6// Torsion:
7intmat L[1][1] =
80;
9// The free subgroup generated by elements of S within Z^1
10// can be constructed as follows:
11// shortcut:
12def G = createTorsionFreeGroup(S);
13printGroup(G);
14// the general way:
15def GG = createGroup(S, L); // (S+L)/L
16printGroup(GG);
17tst_status(1);$
Note: See TracBrowser for help on using the repository browser.