- Timestamp:
- 11/10/08 15:40:25 (16 years ago)
- Location:
- tests
- Files:
-
- 1 added
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
tests/CMakeLists.txt
r193 r201 40 40 # ESTIM TESTS 41 41 TEST(arx_test) 42 TEST(arx_elem_test) 42 43 TEST(merger_test) 43 44 TEST(merger_iter_test) -
tests/emix_test.cpp
r193 r201 77 77 vec ll ( N ); 78 78 vec ll2 ( N ); 79 mat Smp=M2.sample N( N );79 mat Smp=M2.sample_m ( N ); 80 80 ll = M2.evalpdflog_m(Smp); 81 81 -
tests/mixef_test.cpp
r191 r201 63 63 // Sample parameters 64 64 int ndat = 100; 65 mat Smp =Simul.sample N( ndat );65 mat Smp =Simul.sample_m ( ndat ); 66 66 67 67 cout << "Simulated means: " << m1 <<" and " << m2 <<endl; -
tests/testSmp.cpp
r179 r201 53 53 eG.set_parameters(a,b); 54 54 55 cout << eG.eval (a)<<endl;56 Smp = eG.sample N(N);55 cout << eG.evalpdflog(a)<<endl; 56 Smp = eG.sample_m(N); 57 57 58 58 vec g_mu = elem_div(a,b); … … 76 76 eMix.set_parameters(vec_2(0.5,0.5), Coms); 77 77 vec smp = eMix.sample(); 78 Smp = eMix.sample N(N);78 Smp = eMix.sample_m(N); 79 79 disp(eMix.mean(),zeros(2),Smp); 80 80