Revision 1216, 0.7 kB
(checked in by sindj, 14 years ago)
|
Splitting polyhedrons in statistic - continued. Not finished. JS
|
Line | |
---|
1 | |
---|
2 | /*! |
---|
3 | \file |
---|
4 | \brief Robust |
---|
5 | \author Vasek Smidl |
---|
6 | |
---|
7 | */ |
---|
8 | |
---|
9 | #include "robustlib.h" |
---|
10 | #include <vector> |
---|
11 | using namespace itpp; |
---|
12 | |
---|
13 | using namespace bdm; |
---|
14 | |
---|
15 | int main ( int argc, char* argv[] ) { |
---|
16 | |
---|
17 | emlig* emlig1 = new emlig(3); |
---|
18 | |
---|
19 | emlig1->step_me(); |
---|
20 | |
---|
21 | vec condition = "3.0 -5.0 -3.0 -2.0"; |
---|
22 | |
---|
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 | } |
---|
42 | |
---|
43 | return 0; |
---|
44 | } |
---|