source: git/Tst/Manual/belongSemigroup.tst @ 4efdd1c

spielwiese
Last change on this file since 4efdd1c 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: 358 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "cisimplicial.lib";
3intmat A[3][4] = 10,3,2,1,2,1,1,3,5,0,1,2;
4print(A);
5intvec v = 23,12,10;
6belongSemigroup(v,A);
7"// A * (1,3,1,2) = v";
8belongSemigroup(v,A,3);
9"// v is not a combination of the first 3 columns of A";
10intvec w = 12,4,1;
11belongSemigroup(w,A);
12"// w is not a combination of the columns of A";
13tst_status(1);$
Note: See TracBrowser for help on using the repository browser.