Changeset f691ff in git
- Timestamp:
- Aug 11, 2004, 2:43:38 PM (20 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 36f8d9017a0f579e359f4b2e5e7af4f41dcec8b3
- Parents:
- 9433a26de2fd01924b6e4703e7e8faac77f9e821
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/control.lib
r9433a26 rf691ff 1 version="$Id: control.lib,v 1.1 3 2004-08-11 09:59:59 pluralExp $";1 version="$Id: control.lib,v 1.14 2004-08-11 12:43:38 levandov Exp $"; 2 2 category="Miscellaneous"; 3 3 info=" … … 24 24 declare(string NameOfRing, Variables[,string Parameters, Ordering]); defines the ring, optional parametes are strings of parameters and ordering, 25 25 view(); Well-formatted output of lists, modules and matrixes 26 27 NOTE (EXAMPLES): In order to use examples below, execute the commands 28 @* def A = exAntenna(); setring A; 29 @* Thus A will become a basering from the example with the predefined module R (transposed), corresponding to the system. 30 After that you can just type in 31 @* control(R); //respectively autonom(R); 32 and check the result. 33 34 35 EXAMPLES (AUTONOMY): 36 37 exCauchy(); example of 1-dimensional Cauchy equation, 38 exCauchy2(); example of 2-dimensional Cauchy equation, 39 exZerz(); example from the lecture of Eva Zerz, 40 41 EXAMPLES (CONTROLLABILITY): 42 43 ex1(); example of noncontrollable system, 44 ex2(); example of controllable system , 45 exAntenna(); Antenna, 46 exEinstein(); Einstein equations, 47 exFlexibleRod(); Flexible Rod, 48 exTwoPendula(); Two Pendula, 49 exWindTunnel(); Wind Tunnel. 26 50 "; 27 51 … … 537 561 //autonomy: 538 562 // 539 proc exAut1()540 {541 ring @r=0,(s1,s2,s3),dp;542 module R=[0,-s3,s2],543 [s3,0,-s1];544 R=transpose(R);545 export R;546 return(@r);547 };548 //----------------------------------------------------------------------------549 proc exAut2()550 {551 ring @r=0,(s1,s2,s3),dp;552 module R = [0,-s3,s2],553 [s3,0,-s1],554 [-s2,s1,0];555 R=transpose(R);556 export R;557 return(@r);558 };559 560 563 //---------------------------------------------------------------------------- 561 564 proc exCauchy() … … 581 584 }; 582 585 //---------------------------------------------------------------------------- 583 proc ex EvasLecture()586 proc exZerz() 584 587 { 585 588 ring @r=0,(d1,d2),dp;
Note: See TracChangeset
for help on using the changeset viewer.