Changeset 917fb5 in git for Singular/LIB/paramet.lib
- Timestamp:
- Jul 6, 1999, 5:33:00 PM (25 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 8e7ed6b81b8840e62d72f281eef096b71dc1b37e
- Parents:
- ce7ba606241efb95de4d1ab5581428b7143b3be2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/paramet.lib
rce7ba6 r917fb5 1 // $Id: paramet.lib,v 1. 4 1999-07-06 11:33:06 obachmanExp $1 // $Id: paramet.lib,v 1.5 1999-07-06 15:32:55 Singular Exp $ 2 2 // author : Thomas Keilen email: keilen@mathematik.uni-kl.de 3 3 // last change: 07.08.98 4 4 /////////////////////////////////////////////////////////////////////////////// 5 5 6 version="$Id: paramet.lib,v 1. 4 1999-07-06 11:33:06 obachmanExp $";6 version="$Id: paramet.lib,v 1.5 1999-07-06 15:32:55 Singular Exp $"; 7 7 info=" 8 LIBRARY: paramet.lib PROCEDURES FOR PARAMETRIZATION OF PRIMARY 8 LIBRARY: paramet.lib PROCEDURES FOR PARAMETRIZATION OF PRIMARY 9 9 DECOMPOSITION, ETC. 10 10 11 11 PROCEDURES: 12 parametrize(I); parametrizes a prime ideal if possible via the 12 parametrize(I); parametrizes a prime ideal if possible via the 13 13 normalization 14 parametrizepd(I); calculates the primary decomp. and parametrizes 14 parametrizepd(I); calculates the primary decomp. and parametrizes 15 15 the components 16 16 parametrizesing(f); parametrize an isolated plane curve singularity … … 25 25 proc parametrize(ideal I) 26 26 "USAGE: parametrize(); I ideal in an arbitrary number of variables, 27 whose radical is prime, in a ring with global ordering 27 whose radical is prime, in a ring with global ordering 28 28 RETURN: a list containing the parametrization ideal resp. the original ideal, 29 29 the number of variables needed for the parametrization resp. 0, and 30 1 resp. 0 depending on whether the parametrization was successful 30 1 resp. 0 depending on whether the parametrization was successful 31 31 or not 32 32 NOTE: if successful, the basering is changed to the parametrization ring; 33 the result will be incorrect, if the parametrization needs more than 33 the result will be incorrect, if the parametrization needs more than 34 34 two variables 35 35 EXAMPLE: example parametrize; shows an example … … 43 43 list nor=normal(newI); 44 44 def N=nor[1]; 45 ring PR=0,(s,t),dp; 45 ring PR=0,(s,t),dp; 46 46 setring N; 47 47 // If the ideal is zero dimensional, the procedure works as well in good cases. … … 53 53 ideal para=p(normap); 54 54 export para; 55 // The i-th list component contains the parametrization, the 55 // The i-th list component contains the parametrization, the 56 56 // number of necessary variables, and the information, if 57 57 // the parametrization was successful. … … 66 66 keepring(PR); 67 67 } 68 else 68 else 69 69 { 70 70 list param=I,0,0; … … 79 79 } 80 80 example 81 { "EXAMPLE:";echo = 2; 81 { "EXAMPLE:";echo = 2; 82 82 ring RING=0,(x,y,z),dp; 83 83 ideal I=z2-y2x2+x3; … … 94 94 resp. 0, and 1 resp. 0 depending on whether the parametrization 95 95 of the component was successful or not 96 NOTE: the basering will be changed to PR=0,(s,t),dp 96 NOTE: the basering will be changed to PR=0,(s,t),dp 97 97 the result will be incorrect, if the parametrization needs more than two 98 98 variables … … 108 108 for (int ii=1; ii<=size(primary); ii=ii+1) 109 109 { 110 no=normal(std(primary[ii][2])); 110 no=normal(std(primary[ii][2])); 111 111 nor[ii]=no[1]; 112 112 def N=nor[ii]; 113 113 setring N; 114 114 int d=dim(std(norid)); 115 // Test if the normalization is K, K[s] or K[s,t]. Then give back the parametrization. 115 // Test if the normalization is K, K[s] or K[s,t]. Then give back the parametrization. 116 116 if (size(norid)==0) 117 117 { … … 131 131 setring BAS; 132 132 } 133 else 133 else 134 134 { 135 135 setring PR; … … 141 141 } 142 142 export nor; 143 setring PR; 143 setring PR; 144 144 export PR; 145 145 keepring PR; … … 147 147 } 148 148 example 149 { "EXAMPLE:";echo = 2; 149 { "EXAMPLE:";echo = 2; 150 150 ring RING=0,(x,y,z),dp; 151 151 ideal I=(x2-y2z2+z3)*(x2-z2-z3),(x2-y2z2+z3)*yz; … … 160 160 "USAGE: parametrizesing(); f a polynomial in two variables with ordering ls or ds 161 161 RETURN: a list containing the parametrizations of the different branches of the 162 singularity at the origin resp. 0, if f was not of the desired kind 162 singularity at the origin resp. 0, if f was not of the desired kind 163 163 NOTE: if successful, the basering is changed to ring 0,(x,y),ls; 164 164 EXAMPLE: example parametrizesing; shows an example … … 185 185 } 186 186 example 187 { "EXAMPLE:";echo = 2; 187 { "EXAMPLE:";echo = 2; 188 188 ring RING=0,(x,y),ls; 189 189 poly f=(x^2-y^3)*(x^2-y^2-y^3); … … 265 265 /// Examples for parametrizepd 266 266 267 /// Example 1 267 /// Example 1 268 268 ring r=0,(x,y,z),dp; 269 269 ideal i=y2z5-x2y2z2+y2z4-z6-z5+x4-x2z2,-y3z3+yz4+x2yz;
Note: See TracChangeset
for help on using the changeset viewer.