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