source: git/Tst/Manual/luinverse.tst @ 894057

fieker-DuValspielwiese
Last change on this file since 894057 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: 237 bytes
Line 
1LIB "tst.lib"; tst_init();
2  ring r=0,(x),dp;
3  matrix A[3][3]=1,2,3,1,1,1,2,2,1;
4  list L = luinverse(A);
5  if (L[1] == 1)
6  {
7    print(L[2]);
8    "----- next should be the (3 x 3)-unit matrix:";
9    print(A*L[2]);
10  }
11tst_status(1);$
Note: See TracBrowser for help on using the repository browser.