source: git/Tst/Manual/symmat.tst @ 6fb723

spielwiese
Last change on this file since 6fb723 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: 346 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "matrix.lib";
3ring R=0,x(1..10),lp;
4print(symmat(4));    // the generic symmetric matrix
5ring R1 = 0,(a,b,c),dp;
6matrix A=symmat(4,maxideal(1)^3);
7print(A);
8int n=3;
9ideal i = ideal(randommat(1,n*(n+1) div 2,maxideal(1),9));
10print(symmat(n,i));  // symmetric matrix of generic linear forms
11kill R1;
12tst_status(1);$
Note: See TracBrowser for help on using the repository browser.