From d2b133901a65244934eb642ec8e20c797efaf650 Mon Sep 17 00:00:00 2001 From: Bertrand Date: Fri, 19 Feb 2016 15:03:51 +0000 Subject: nettoyage du dépôt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stratified_sampling.cpp | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 stratified_sampling.cpp (limited to 'stratified_sampling.cpp') diff --git a/stratified_sampling.cpp b/stratified_sampling.cpp deleted file mode 100644 index c1c8dc1..0000000 --- a/stratified_sampling.cpp +++ /dev/null @@ -1,13 +0,0 @@ -#include "stratified_sampling.hpp" - -std::pair mean_var( std::vector r){ - std::pair p; - for(auto &x: r){ - p.first += x; - p.second += x*x; - } - p.first /= r.size(); - p.second /= r.size(); - p.second -= p.first * p.first; - return p; -} -- cgit v1.2.3-70-g09d2