source: git/Tst/Manual/sysCRHTMindist.tst @ 76ce4e6

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