Changeset 1216 for applications/robust/main.cpp
- Timestamp:
- 10/14/10 18:33:52 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/robust/main.cpp
r1213 r1216 8 8 9 9 #include "robustlib.h" 10 #include <vector> 10 11 using namespace itpp; 11 12 … … 16 17 emlig* emlig1 = new emlig(3); 17 18 18 vec condition = "3.0 -5.0 3.0 2.0"; 19 emlig1->step_me(); 20 21 vec condition = "3.0 -5.0 -3.0 -2.0"; 19 22 20 23 emlig1->add_condition(condition); 24 25 vector<int> sizevector; 26 for(int s = 0;s<=emlig1->number_of_parameters;s++) 27 { 28 sizevector.push_back(emlig1->statistic_rowsize(s)); 29 } 30 31 emlig1->step_me(); 32 33 condition = "-5.0 2.3 2.3 -1.0"; 34 35 emlig1->add_condition(condition); 36 37 sizevector.clear(); 38 for(int s = 0;s<=emlig1->number_of_parameters;s++) 39 { 40 sizevector.push_back(emlig1->statistic_rowsize(s)); 41 } 21 42 22 43 return 0;