diff options
| author | Guillaume Horel <guillame.horel@gmail.com> | 2016-02-04 15:13:44 -0500 |
|---|---|---|
| committer | Guillaume Horel <guillame.horel@gmail.com> | 2016-02-04 15:13:44 -0500 |
| commit | 65a9710eb66dbc00d4c4962467b753f62e7fcffe (patch) | |
| tree | a0983cd4f5349be84428cefa687b41d37b43e342 /stratified_sampling.cpp | |
| parent | 06104594411153c3d8a213516e8bf40385c66a97 (diff) | |
| download | projet_C++-65a9710eb66dbc00d4c4962467b753f62e7fcffe.tar.gz | |
wasn't compiling as it was
Diffstat (limited to 'stratified_sampling.cpp')
| -rw-r--r-- | stratified_sampling.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stratified_sampling.cpp b/stratified_sampling.cpp index af716bc..8f408cc 100644 --- a/stratified_sampling.cpp +++ b/stratified_sampling.cpp @@ -40,7 +40,7 @@ std::pair<double, double> mean_var( std::vector<double> r){ } //actualisation du nombre de tirages à faire par strates std::vector<int> update_sampling (std::vector<double> p, -std::vector<double> sigma, int n) { + std::vector<double> sigma, int Nk) { int I = p.size(); std::vector<int> M(I, 1); // notre vecteur final à retourner std::vector<double> m(I, 0); //le vecteur des m_i idéals @@ -76,7 +76,7 @@ int main() std::vector<double> q; q = quantile_norm(10, 1); - + std::pair<double, double> p; std::pair<double, double> mv; //number of classes |
