Changeset 6188f04 in git
- Timestamp:
- Jan 14, 2014, 4:31:03 PM (10 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c5facdfddea2addfd91babd8b9019161dea4b695')
- Children:
- 3ec6eca5156711f5fab6a2d21c403e256f154188
- Parents:
- bbb8fa401a826c3aa9827457718f04c4da962e1d
- Location:
- Singular/LIB
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/locnormal.lib
rbbb8fa4 r6188f04 142 142 ideal J = minor(jacob(IMin), nvars(basering) - d, I); 143 143 t=timer; 144 J = modStd(J); 145 if (printTimings==1) {"Time for modStd Jacobian "+string(timer-t);} 144 int ch = char(basering); 145 if (ch==0) {J = modStd(J);} else {J = std(J);} 146 if (printTimings==1) {"Time for modStd/std Jacobian "+string(timer-t);} 146 147 147 148 setring R; … … 198 199 199 200 t=timer; 200 resu = modStd(resu);201 if (printTimings==1) { 202 "Time for combining the local results, modStd "+string(timer-t);201 if (ch==0) {resu = modStd(resu);} else {resu = std(resu);} 202 if (printTimings==1) { 203 "Time for combining the local results, modStd/std "+string(timer-t); 203 204 } 204 205 -
Singular/LIB/reesclos.lib
rbbb8fa4 r6188f04 24 24 "; 25 25 26 LIB " normal.lib"; // for HomJJ26 LIB "locnormal.lib"; // for HomJJ 27 27 LIB "standard.lib"; // for groebner 28 28 … … 103 103 104 104 static 105 proc ClosureRees (list L )106 "USAGE: ClosureRees (L ); L a list105 proc ClosureRees (list L, int useLocNormal) 106 "USAGE: ClosureRees (L,useLocNormal); L a list, useLocNormal an integer 107 107 ASSUME: L is a list containing 108 108 - a ring L[1], inside L[1] an ideal ker such that L[1]/ker is … … 123 123 setring R(1); // declaration of variables used later 124 124 ideal ker(1)=ker; // in STEP 2 125 list nor = normal(ker); 126 list preimages=nor[2]; 125 if (useLocNormal==1) { 126 list preimages1 = locNormal(ker); 127 ideal preimagesI=preimages1[1]; 128 list preimagesL = list(preimagesI[2..size(preimagesI)])+list(preimagesI[1]); 129 ideal preimages = ideal(preimagesL[1..size(preimagesL)]); 130 } else { 131 list nor = normal(ker); 132 ideal preimages=nor[2][1]; 133 } 127 134 setring Kxt; 128 135 map psi=R(1),mapI; // from ReesAlgebra: the map Rees->Kxt 129 ideal images= (psi(preimages))[1];136 ideal images=psi(preimages); 130 137 ideal psii = images[size(images)]*ideal(psi); 131 138 list imagesl = images[1..size(images)]; … … 265 272 266 273 proc normalI(ideal I, list #) 267 "USAGE: normalI (I [,p [,r]]); I an ideal, p and roptional integers274 "USAGE: normalI (I [,p [,r [,l]]]); I an ideal, p, r, and l optional integers 268 275 RETURN: the integral closure of I, ..., I^p, where I is an ideal in the 269 276 polynomial ring R=k[x(1),...x(n)]. If p is not given, or p==0, … … 273 280 is given and r==1, normalI starts with a check whether I is already a 274 281 radical ideal. 282 If l==1 then locNormal instead of normal is used to compute normalization. 275 283 The result is a list containing the closure of the desired powers of 276 284 I as ideals of the basering. … … 305 313 306 314 int testrad=0; // do the radical check? 315 int uselocNormal=0; 307 316 if (size(#)>1) 308 317 { 309 318 testrad=#[2]; 319 if (size(#)==3) { 320 uselocNormal=#[3]; 321 } 310 322 } 311 323 … … 363 375 364 376 setring Kxt; 365 list images = ClosureRees(Rees );377 list images = ClosureRees(Rees,uselocNormal); 366 378 367 379 // ClosureRees was done after the first HomJJ-call
Note: See TracChangeset
for help on using the changeset viewer.