Revision 164, 472 bytes
(checked in by smidl, 16 years ago)
|
test gitu
|
Rev | Line | |
---|
[163] | 1 | #include <itpp/itbase.h> |
---|
| 2 | #include <stat/libEF.h> |
---|
| 3 | #include <stat/merger.h> |
---|
| 4 | |
---|
| 5 | using namespace itpp; |
---|
| 6 | |
---|
| 7 | //These lines are needed for use of cout and endl |
---|
| 8 | using std::cout; |
---|
| 9 | using std::endl; |
---|
| 10 | |
---|
| 11 | int main() { |
---|
| 12 | |
---|
| 13 | RV x("{x }","1"); |
---|
| 14 | RV y("{y }","1"); |
---|
| 15 | RV z("{z }","1"); |
---|
| 16 | |
---|
[164] | 17 | mlnorm<fsqmat> fx(x,y); |
---|
| 18 | mlnorm<fsqmat> fy(x,z); |
---|
[163] | 19 | |
---|
| 20 | fx.set_parameters("1.5",mat("1")); |
---|
[164] | 21 | fy.set_parameters("1.3",mat("1")); |
---|
[163] | 22 | |
---|
| 23 | Array<mpdf* > A(2); |
---|
| 24 | A(0)=&fx; |
---|
| 25 | A(1)=&fy; |
---|
| 26 | |
---|
| 27 | merger M(A); |
---|
| 28 | |
---|
| 29 | //Exit program: |
---|
| 30 | return 0; |
---|
| 31 | |
---|
| 32 | } |
---|