Changeset 70597c in git
- Timestamp:
- Apr 29, 2005, 10:55:50 AM (18 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 06e7dcdf5fd3a0ce08ced31a9146bb37269a674d
- Parents:
- a021637720f2c66a9c52f1f5c1baf054d9f347a7
- Location:
- Singular/LIB
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/qhmoduli.lib
ra02163 r70597c 17 17 Max(data) maximal integer contained in 'data' 18 18 Min(data) minimal integer contained in 'data' 19 Table(cmd, i, lb, ub) list, i-th entry is cmd(i), lb <= i <= ub20 19 "; 21 20 … … 717 716 /////////////////////////////////////////////////////////////////////////////// 718 717 719 proc MonosAndTerms(poly f, wt, int ub)718 static proc MonosAndTerms(poly f, wt, int ub) 720 719 "USAGE: MonosAndTerms(f, w, ub); poly f, intvec w, int ub 721 720 PURPOSE: returns a list of all monomials and terms occuring in f of … … 753 752 /////////////////////////////////////////////////////////////////////////////// 754 753 755 proc SelectMonos(parts, intvec wt, int d)754 static proc SelectMonos(parts, intvec wt, int d) 756 755 "USAGE: SelectMonos(parts, w, d); list/ideal parts, intvec w, int d 757 756 PURPOSE: returns a list of all monomials and terms occuring in f of … … 788 787 /////////////////////////////////////////////////////////////////////////////// 789 788 790 proc Expand(substitution, degVec, ideal reduceI, intvec w1, int ub, list truncated)789 static proc Expand(substitution, degVec, ideal reduceI, intvec w1, int ub, list truncated) 791 790 "USAGE: Expand(substitution, degVec, reduceI, w, ub, truncated); 792 791 ideal/list substitution, list/intvec degVec, ideal reduceI, intvec w, … … 830 829 /////////////////////////////////////////////////////////////////////////////// 831 830 832 proc PolyProduct(poly g1, poly h1, ideal reduceI, intvec wt, int ub)831 static proc PolyProduct(poly g1, poly h1, ideal reduceI, intvec wt, int ub) 833 832 "USAGE: PolyProduct(g, h, reduceI, wt, ub); poly g, h; ideal reduceI, 834 833 intvec wt, int ub. … … 878 877 /////////////////////////////////////////////////////////////////////////////// 879 878 880 proc PolyPower1(int varIndex, poly f, int e, ideal reduceI, intvec wt, int truncated, int ub) 879 static proc PolyPower1(int varIndex, poly f, int e, ideal reduceI, intvec wt, 880 int truncated, int ub) 881 881 "USAGE: PolyPower1(i, f, e, reduceI, wt, truncated, ub);int i, e, ub;poly f; 882 882 ideal reduceI; intvec wt; list truncated; … … 937 937 /////////////////////////////////////////////////////////////////////////////// 938 938 939 proc Num(int i) 940 // Type : void 941 // Purpose : set basering R, poly f and weight w to ... 942 { 943 string p = "poly f = " + example_poly[i]; 944 //string str = "wt = " + example_weight[ex_nr5 + i - 1] + ";"; 945 string r = "ring R = 0, (" + example_vars[i] + "), ls;"; 946 //execute(str); 947 execute(r); 948 execute(p); 949 wt = weight(f); 950 keepring R; 951 } 952 953 /////////////////////////////////////////////////////////////////////////////// 954 955 proc RingVarsToList(list @index) 939 static proc RingVarsToList(list @index) 956 940 { 957 941 int i; … … 963 947 964 948 /////////////////////////////////////////////////////////////////////////////// 965 949 static 966 950 proc APSubstitution(poly f, ideal substitution, ideal reduceIdeal, intvec wt, int ub, int nrs, int nrt) 967 951 "USAGE: APSubstitution(f, subs, reduceI, w, ub, int nrs, int nrt); poly f … … 1186 1170 /////////////////////////////////////////////////////////////////////////////// 1187 1171 1188 proc AllCombinations(list partition, list indices)1172 static proc AllCombinations(list partition, list indices) 1189 1173 "USAGE: AllCombinations(partition,indices); list partition, indices) 1190 1174 PURPOSE: all combinations for a given partititon … … 1221 1205 /////////////////////////////////////////////////////////////////////////////// 1222 1206 1223 proc AllSingleCombinations(int n, list index)1207 static proc AllSingleCombinations(int n, list index) 1224 1208 "USAGE: AllSingleCombinations(n index); int n, list index 1225 1209 PURPOSE: all combinations for var(n) … … 1260 1244 /////////////////////////////////////////////////////////////////////////////// 1261 1245 1262 proc AllCombinationsAux(list parts, list index)1246 static proc AllCombinationsAux(list parts, list index) 1263 1247 "USAGE: AllCombinationsAux(parts ,index); list parts, index 1264 1248 PURPOSE: all compbinations for nonlinear substituiton … … 1290 1274 /////////////////////////////////////////////////////////////////////////////// 1291 1275 1292 proc Partitions(int n, list nr)1276 static proc Partitions(int n, list nr) 1293 1277 "USAGE: Partitions(n, nr); int n, list nr 1294 1278 PURPOSE: partitions of n consisting of elements from nr … … 1329 1313 /////////////////////////////////////////////////////////////////////////////// 1330 1314 1331 proc NumFactor(int a, int b)1315 static proc NumFactor(int a, int b) 1332 1316 " USAGE: NumFactor(a, b); int a, b 1333 1317 PURPOSE: if b divides a then return b/a, else return 0 … … 1342 1326 /////////////////////////////////////////////////////////////////////////////// 1343 1327 1344 proc Table(string cmd, string iterator, int lb, int ub)1328 static proc Table(string cmd, string iterator, int lb, int ub) 1345 1329 " USAGE: Table(cmd,i, lb, ub); string cmd, i; int lb, ub 1346 1330 PURPOSE: generate a list of size ub - lb + 1 s.t. _[i] = cmd(i) -
Singular/LIB/rinvar.lib
ra02163 r70597c 1 1 // Last change 10.12.2000 (TB) 2 2 /////////////////////////////////////////////////////////////////////////////// 3 version="$Id: rinvar.lib,v 1.1 0 2005-04-25 12:37:46Singular Exp $";3 version="$Id: rinvar.lib,v 1.11 2005-04-29 08:55:50 Singular Exp $"; 4 4 category="Invariant theory"; 5 5 info=" … … 1114 1114 /////////////////////////////////////////////////////////////////////////////// 1115 1115 1116 staticproc RingVarProduct(index)1116 proc RingVarProduct(index) 1117 1117 // list of indices 1118 1118 {
Note: See TracChangeset
for help on using the changeset viewer.