Changeset 201 for tests/testSmp.cpp
- Timestamp:
- 11/10/08 15:40:25 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
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