spielwiese
Last change
on this file since 36bbdc 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:
298 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "linalg.lib"; |
---|
3 | ring r = 0,(t,x),lp; |
---|
4 | matrix A[2][2] = 1,x2,x,x2+3x; |
---|
5 | print(A); |
---|
6 | list L = busadj(A); |
---|
7 | poly X = L[1][1]+L[1][2]*t+L[1][3]*t2; X; |
---|
8 | matrix bA[2][2] = L[2][1]+L[2][2]*t; |
---|
9 | print(bA); //the busadjoint of A; |
---|
10 | print(bA*(t*unitmat(2)-A)); |
---|
11 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.