fieker-DuValspielwiese
Last change
on this file since 76ce4e6 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:
581 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "decodegb.lib"; |
---|
3 | intvec v = option(get); |
---|
4 | // binary cyclic [15,7,5] code with defining set (1,3) |
---|
5 | list defset=1,3; // defining set |
---|
6 | int n=15; // length |
---|
7 | int d=5; // candidate for the minimum distance |
---|
8 | def A=sysCRHTMindist(n,defset,d); |
---|
9 | setring A; |
---|
10 | A; // shows the ring we are working in |
---|
11 | print(crht_md); // the Sala's ideal for mindist |
---|
12 | option(redSB); |
---|
13 | ideal red_crht_md=std(crht_md); |
---|
14 | print(red_crht_md); // reduced Groebner basis |
---|
15 | option(set,v); |
---|
16 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.