Changeset 384 for library/tests/merger_2d_test.cpp
- Timestamp:
- 06/19/09 10:17:25 (16 years ago)
- Location:
- library/tests
- Files:
-
- 1 modified
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
library/tests/merger_2d_test.cpp
r278 r384 1 1 2 #include <stat/libEF.h> 3 #include <estim/merger.h> 2 #include "stat/exp_family.h" 3 #include "stat/merger.h" 4 5 using namespace bdm; 4 6 5 7 using namespace bdm; … … 42 44 Grid.set_submatrix ( 1,0, kron(ones(1,Npoints), y_grid) ); 43 45 44 merger M ( A );46 merger_mix M ( A ); 45 47 enorm<fsqmat> g0; g0.set_rv(xy); 46 48 g0.set_parameters(vec("1 1"),mat("10 0; 0 10")); 47 49 48 M.set_parameters(1e8,400,1); 49 M.merge(&g0); 50 M.set_parameters(1); 51 M.set_method(LOGNORMAL,1e8); 52 M.set_support(g0,400); 53 M.merge(); 50 54 51 55 MixEF &MM = M._Mix();