Changeset 2922 in Sophya for trunk/SophyaPI/PIext/servnobjm.cc
- Timestamp:
- Mar 27, 2006, 6:57:19 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/servnobjm.cc
r2833 r2922 26 26 #include "tmatrix.h" 27 27 #include "tvector.h" 28 #include "matharr.h" 28 29 #include "pitvmaad.h" 29 30 #endif … … 817 818 } 818 819 delete nt; 819 MyObjMgr()->AddObj(vec, nomvec); 820 MyObjMgr()->DisplayObj(nomvec, dopt); 820 if (nomvec.size() > 0) { 821 MyObjMgr()->AddObj(vec, nomvec); 822 MyObjMgr()->DisplayObj(nomvec, dopt); 823 } 824 else { 825 // On calcule et on affiche mean/sigma + min/max 826 double min, max, mean, sigma; 827 vec->MinMax(min, max); 828 MathArray<r_8> ma; 829 ma.MeanSigma(*vec, mean, sigma); 830 cout << " Mean= " << mean << " Sigma= " << sigma 831 << " Min= " << min << " Max= " << max << endl; 832 delete vec; 833 } 821 834 return; 822 835 }
Note:
See TracChangeset
for help on using the changeset viewer.