source: git/Tst/Manual/sum.tst @ 0d6b7fc

spielwiese Release-4-3-2p2
Last change on this file since 0d6b7fc 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: 328 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "general.lib";
3ring r1 = 0,(x,y,z),dp;
4vector pv = [xy,xz,yz,x2,y2,z2];
5sum(pv);
6sum(pv,2..5);
7matrix M[2][3] = 1,x,2,y,3,z;
8intvec w=2,4,6;
9sum(M,w);
10intvec iv = 1,2,3,4,5,6,7,8,9;
11sum(iv,2..4);
12iv = intvec(1..100);
13sum(iv);
14ring r2 = 0,(x(1..10)),dp;
15sum(x(3..7),intvec(1,3,5));
16tst_status(1);$
Note: See TracBrowser for help on using the repository browser.