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