Changeset 201 for tests/testSmp.cpp

Show
Ignore:
Timestamp:
11/10/08 15:40:25 (16 years ago)
Author:
smidl
Message:

oprava ARX a prejmenovani sampleN na sample_m

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tests/testSmp.cpp

    r179 r201  
    5353        eG.set_parameters(a,b); 
    5454         
    55         cout << eG.eval(a)<<endl; 
    56         Smp = eG.sampleN(N); 
     55        cout << eG.evalpdflog(a)<<endl; 
     56        Smp = eG.sample_m(N); 
    5757 
    5858        vec g_mu = elem_div(a,b); 
     
    7676        eMix.set_parameters(vec_2(0.5,0.5), Coms); 
    7777        vec smp = eMix.sample(); 
    78         Smp = eMix.sampleN(N); 
     78        Smp = eMix.sample_m(N); 
    7979        disp(eMix.mean(),zeros(2),Smp); 
    8080