Changeset a09c2a0 in git for Singular/LIB/control.lib
- Timestamp:
- Apr 29, 2005, 4:53:50 PM (18 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 509ea41cac9ea87db2965ec417e74db861c056d1
- Parents:
- cf232093a07ed9ca8ddb2d5ede06a133c497763f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/control.lib
rcf23209 ra09c2a0 1 version="$Id: control.lib,v 1.2 7 2005-04-03 20:31:37 pluralExp $";2 category=" Applications";1 version="$Id: control.lib,v 1.28 2005-04-29 14:53:50 levandov Exp $"; 2 category="System and Control Theory"; 3 3 info=" 4 4 LIBRARY: control.lib Procedures for System and Control Theory … … 36 36 @* def A = exAntenna(); setring A; 37 37 @* Thus A will become a basering from the example with the predefined module R (transposed), corresponding to the system. After that you can just type in 38 @* control(R); // respectively autonom(R);38 @* control(R); // respectively autonom(R); 39 39 and check the result. 40 40 … … 88 88 @* Variables: string with names of variables separated by commas(e.g. \"x,y,z\"), 89 89 @* Parameters: string of parameters in the ring separated by commas(e.g. \"a,b,c\"), 90 @* Ordering: string with name of ordering (by default, the ordering \"dp,C\"is used)90 @* Ordering: string with name of ordering (by default, the ordering (dp,C) is used) 91 91 PURPOSE: define the ring easily 92 92 RETURN: no return value … … 123 123 string p="q,p"; 124 124 string Ord ="c,lp"; 125 125 //---------------------------------- 126 126 declare("Ring_1",v); 127 127 print(nameof(basering)); 128 128 print(basering); 129 129 //---------------------------------- 130 130 declare("Ring_2",v,p); 131 131 print(basering); 132 132 print(nameof(basering)); 133 133 //---------------------------------- 134 134 declare("Ring_3",v,p,Ord); 135 135 print(basering); 136 136 print(nameof(basering)); 137 137 //---------------------------------- 138 138 declare("Ring_4",v,"",Ord); 139 139 print(basering); 140 140 print(nameof(basering)); 141 141 //---------------------------------- 142 142 declare("Ring_5",v," ",Ord); 143 143 print(basering); … … 145 145 }; 146 146 // 147 // maybe reasonable to add this in declare147 // maybe reasonable to add this in declare 148 148 // 149 149 // print("Please enter your representation matrix in the following form:
Note: See TracChangeset
for help on using the changeset viewer.