Changeset 6b8433 in git for Singular/LIB/classify.lib
- Timestamp:
- Dec 8, 2008, 3:24:41 PM (15 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- a6b576a7994def0a72d9623eed6bc45b7074c746
- Parents:
- 18ef40f42eafb26bcadfdbf8f8f70a8a0de137d6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/classify.lib
r18ef40 r6b8433 1 1 // KK,GMG last modified: 17.12.00 2 2 /////////////////////////////////////////////////////////////////////////////// 3 version = "$Id: classify.lib,v 1.5 3 2006-07-31 09:11:10 Singular Exp $";3 version = "$Id: classify.lib,v 1.54 2008-12-08 14:24:41 dreyer Exp $"; 4 4 category="Singularities"; 5 5 info=" … … 96 96 97 97 v = Klassifiziere(conv_ext2top(f_in)); 98 poly f_out = v[1]; 99 s2 = v[2]; // s2: Typ des Polynoms f z.b: E[18] 100 corank = v[3]; 98 if(typeof(v[1])=="poly") { 99 poly f_out = v[1]; 100 s2 = v[2]; // s2: Typ des Polynoms f z.b: E[18] 101 corank = v[3]; 102 } 103 else { 104 s2="NoClass"; 105 } 101 106 102 107 //---------------- collect results and create return-value -------------------- … … 261 266 } 262 267 //-------------------------- classification done ------------------------------ 268 if(typeof(v_class[1])!="poly") { 269 return(v); 270 } 263 271 poly f_result = v_class[1]; 264 272 v[2] = v_class[2]; … … 532 540 if(Dim==1) { 533 541 return(printresult(32, f, 534 "W#["+string(k)+","+string(Mu-12*k- 2)+"]", cstn, 3*k-1));542 "W#["+string(k)+","+string(Mu-12*k-3)+"]", cstn, 3*k-1)); 535 543 } 536 544 return(printresult(29, f, "error!", cstn, -1)); … … 1461 1469 int Mu = cstn[2]; 1462 1470 int K = cstn[3]; 1463 string s = "The Singularity " ;+Show(jet(f, K), corank, K);1471 string s = "The Singularity "+Show(jet(f, K)); 1464 1472 string tp=""; 1465 1473 // return(printresult(47, f, tp, cstn, -1)); 1466 1474 1467 1475 s = s +" has 4-jet equal to zero. (F47), mu="+string(Mu); 1468 1476 1469 1477 s; // +" ("+SG_Typ+")"; 1478 s = "No further classification available."; 1479 s; 1470 1480 return(Show(f), tp, corank); 1471 1481 } … … 2212 2222 list v; 2213 2223 2214 if(sg[1]==1 && sg[2]==0 && sg[3]==1) { v=HKclass7_teil_1(sg, SG_Typ, cnt); } 2224 if(sg[1]==1 && sg[2]==0 && sg[3]==1) { 2225 v=HKclass7_teil_1(sg, SG_Typ, cnt); 2226 } 2227 else { 2228 v[1]="not in list"; 2229 v[2]=0; 2230 } 2215 2231 debug_log(6, "HKclass7: ", v[1], " cnt=", v[2]); 2216 2232 return(v);
Note: See TracChangeset
for help on using the changeset viewer.