Changeset 2ab830 in git for Singular/LIB/paraplanecurves.lib
- Timestamp:
- Mar 24, 2011, 11:23:15 AM (12 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- e4e153d5324f38b1cf9800650dbe4e7257b2a6f9
- Parents:
- 1628b149b92bdbe06e7d660a7fd23fea4f95ad3e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/paraplanecurves.lib
r1628b14 r2ab830 410 410 setring Rp2; 411 411 PARA; 412 } 413 414 /////////////////////////////////////////////////////////////////////////////// 415 // compute the weighted degree of p; 416 // this code is an exact copy of the proc in paraplanecurves.lib 417 // (since we do not want to make it non-static) 418 static proc w_deg(poly p, intvec v) 419 { 420 if(p==0){return(-1);} 421 int d=0; 422 while(jet(p,d,v)==0){d++;} 423 d=(transpose(leadexp(jet(p,d,v)))*v)[1]; 424 return(d); 412 425 } 413 426
Note: See TracChangeset
for help on using the changeset viewer.