source: git/Tst/Manual/canonize.tst @ 1ebec3

spielwiese
Last change on this file since 1ebec3 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: 333 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "control.lib";
3// TwoPendula with L1=L2=L
4ring r=(0,m1,m2,M,g,L),Dt,dp;
5module RR =
6[m1*L*Dt^2, m2*L*Dt^2, -1, (M+m1+m2)*Dt^2],
7[m1*L^2*Dt^2-m1*L*g, 0, 0, m1*L*Dt^2],
8[0, m2*L^2*Dt^2-m2*L*g, 0, m2*L*Dt^2];
9module R = transpose(RR);
10list C = control(R);
11list CC = canonize(C);
12view(CC);
13tst_status(1);$
Note: See TracBrowser for help on using the repository browser.