Changeset 1409 in Sophya for trunk/SophyaLib
- Timestamp:
- Feb 18, 2001, 12:02:13 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/generalfit.cc
r1069 r1409 1382 1382 1383 1383 if(rc==-1) 1384 cout<<"rc = "<<rc<<" : le nombre de degre de liberte est <0"<<endl; 1384 cout<<"rc = "<<rc<<" : number of degres of freedom is <0"<<endl; 1385 //cout<<"rc = "<<rc<<" : le nombre de degre de liberte est <0"<<endl; 1385 1386 1386 1387 else if(rc==-10) 1387 cout<<"rc = "<<rc<<" : l'inversion de la matrice des erreurs n'a pas ete possible"<<endl; 1388 cout<<"rc = "<<rc<<" : matrix inversion has failed"<<endl; 1389 //cout<<"rc = "<<rc<<" : l'inversion de la matrice des erreurs n'a pas ete possible"<<endl; 1388 1390 1389 1391 else if(rc==-11) 1390 cout<<"rc = "<<rc<<" : un element diagonal de la matrice des covariances est <=0"<<endl; 1392 cout<<"rc = "<<rc<<" : one of the diagonal elements of covariance matrix is <=0"<<endl; 1393 //cout<<"rc = "<<rc<<" : un element diagonal de la matrice des covariances est <=0"<<endl; 1391 1394 1392 1395 else if(rc==-20) 1393 cout<<"rc = "<<rc<<" : le fit n'a pas converge (nstep>nNstepMX="<<maxStep<<")"<<endl; 1396 cout<<"rc = "<<rc<<" : failed convergence (nstep>nNstepMX="<<maxStep<<")"<<endl; 1397 //cout<<"rc = "<<rc<<" : le fit n'a pas converge (nstep>nNstepMX="<<maxStep<<")"<<endl; 1394 1398 1395 1399 else if(rc>-200 && rc<=-100) { 1396 1400 n = -100-rc; 1397 cout<<"rc = "<<rc<<" : le parametre "<<n<<" ("<<nameParam[n] 1398 <<") est initialise hors limites"<<endl; 1401 cout<<"rc = "<<rc<<" : parameter "<<n<<" ("<<nameParam[n] 1402 <<") has been initialized outside limits"<<endl; 1403 //cout<<"rc = "<<rc<<" : le parametre "<<n<<" ("<<nameParam[n] 1404 // <<") est initialise hors limites"<<endl; 1399 1405 } 1400 1406 1401 1407 else if(rc>-300 && rc<=-200) { 1402 1408 n = -200-rc; 1403 cout<<"rc = "<<rc<<" : le parametre "<<n<<" ("<<nameParam[n] 1404 <<") atteint sa limite inferieure"<<endl; 1409 cout<<"rc = "<<rc<<" : parameter "<<n<<" ("<<nameParam[n] 1410 <<") has reached its upper limit"<<endl; 1411 //cout<<"rc = "<<rc<<" : le parametre "<<n<<" ("<<nameParam[n] 1412 // <<") atteint sa limite inferieure"<<endl; 1405 1413 } 1406 1414 1407 1415 else if(rc>-400 && rc<=-300) { 1408 1416 n = -300-rc; 1409 cout<<"rc = "<<rc<<" : le parametre "<<n<<" ("<<nameParam[n] 1410 <<") atteint sa limite superieure"<<endl; 1411 } 1412 1413 else cout<<"rc = "<<rc<<" : type d'erreur inconnue"<<endl; 1417 cout<<"rc = "<<rc<<" : parameter "<<n<<" ("<<nameParam[n] 1418 <<") has reached its lower limit"<<endl; 1419 //cout<<"rc = "<<rc<<" : le parametre "<<n<<" ("<<nameParam[n] 1420 // <<") atteint sa limite superieure"<<endl; 1421 } 1422 1423 else 1424 cout<<"rc = "<<rc<<" : unknown error"<<endl; 1425 //cout<<"rc = "<<rc<<" : type d'erreur inconnue"<<endl; 1414 1426 1415 1427 }
Note:
See TracChangeset
for help on using the changeset viewer.