spielwiese
Last change
on this file since 36bbdc 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 | LIB "multigrading.lib"; |
---|
3 | intmat I[3][3] = |
---|
4 | 1, 0, 0, |
---|
5 | 0, 1, 0, |
---|
6 | 0, 0, 1; |
---|
7 | intmat L[3][2] = |
---|
8 | 1, 1, |
---|
9 | 1, 3, |
---|
10 | 1, 5; |
---|
11 | // The group Z^3 / L can be constructed as follows: |
---|
12 | // shortcut: |
---|
13 | def G = createQuotientGroup(L); |
---|
14 | printGroup(G); |
---|
15 | // the general way: |
---|
16 | def GG = createGroup(I, L); // (I+L)/L |
---|
17 | printGroup(GG); |
---|
18 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.