- Timestamp:
- 06/20/08 11:16:53 (17 years ago)
- Location:
- tests
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
tests/CMakeLists.txt
r122 r125 29 29 add_executable (loggers_test loggers_test.cpp) 30 30 target_link_libraries (loggers_test ${BdmLibs}) 31 32 add_executable (blas_test blas_test.cpp) 33 target_link_libraries (blas_test ${BdmLibs}) 31 34 32 35 add_executable (test0 test0.cpp) -
tests/testSmp.cpp
r115 r125 78 78 disp(eMix.mean(),zeros(2),Smp); 79 79 80 cout << "======= MMix_triv ======== " << endl; 81 mepdf mMix(rv,rv,&eMix); 80 cout << "======= MEpdf ======== " << endl; 81 mepdf meMix(rv,rv,&eMix); 82 83 Smp = meMix.samplecond(mu0,lik,N); 84 disp(eMix.mean(),zeros(2),Smp); 85 86 cout << "======= MMix ======== " << endl; 87 mmix mMix(rv,rv); 88 Array<mpdf*> mComs(2); 89 mComs(0) = &mG; 90 eN.set_mu(vec_2(0.0,0.0)); 91 mepdf mEnorm(rv,rv,&eN); 92 mComs(1) = &mEnorm; 93 mMix.set_parameters(vec_2(0.5,0.5),mComs); 82 94 83 95 Smp = mMix.samplecond(mu0,lik,N); 84 disp( eMix.mean(),zeros(2),Smp);96 disp(mMix._epdf().mean(),zeros(2),Smp); 85 97 86 98 //Exit program: