Changeset aa04bc in git for Singular/LIB/surfacesignature.lib
- Timestamp:
- Sep 30, 2010, 4:29:18 PM (13 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- e67c6fc5ee997e9b0c7262a6f42a29368eca1c8c
- Parents:
- 5e2dd1408b0e0191298d3cb3cb7327a1ff7c9464
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/surfacesignature.lib
r5e2dd1 raa04bc 178 178 static proc isRupture(intvec v) 179 179 //=== decides whether the exceptional divisor given by the row v in the 180 //=== incidence matrix of the resolution graph intersects at least 3 other divisors 180 //=== incidence matrix of the resolution graph intersects at least 3 other 181 //=== divisors 181 182 { 182 183 int i,j; … … 332 333 for(i = 1; i <= n; i++) 333 334 { 334 if((L[2][i] == 2)&&((denominator(leadcoef(N*L[1][i]))==1)||(denominator(leadcoef(N*L[1][i]))==-1))) 335 if((L[2][i] == 2) && ((denominator(leadcoef(N*L[1][i]))==1) 336 ||(denominator(leadcoef(N*L[1][i]))==-1))) 335 337 { 336 338 h = h + L[3][i]; … … 344 346 for(i = (n+3)/2; i <= n; i++) 345 347 { 346 if(!((denominator(leadcoef(N*L[1][i]))==1)||(denominator(leadcoef(N*L[1][i]))==-1))) 348 if(!((denominator(leadcoef(N*L[1][i]))==1) 349 ||(denominator(leadcoef(N*L[1][i]))==-1))) 347 350 { 348 351 e = e + (1 - 2 * fracPart(N * number(L[1][i]))) * L[3][i]; … … 357 360 358 361 proc signature(int N, poly f, list #) 359 "USAGE: signature(N,f); N = integer, f = reduced poly in 2 variables, # empty or 1,2,3 362 "USAGE: signature(N,f); N = integer, f = reduced poly in 2 variables, 363 # empty or 1,2,3 360 364 @* - if # is empty or #[1] = 2 then resolution of singularities is used 361 @* - if #[1] = 1 then f has to be analytically irreducible and Puiseux expansions are used 365 @* - if #[1] = 1 then f has to be analytically irreducible and Puiseux 366 expansions are used 362 367 @* - if #[1] = 3 then spectral pairs are used 363 368 RETURN: signature of surface singularity defined by z^N + f(x,y) = 0
Note: See TracChangeset
for help on using the changeset viewer.