$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r59495 - sandbox/statistics/functional/boost/functional
From: erwann.rogard_at_[hidden]
Date: 2010-02-04 19:44:48
Author: e_r
Date: 2010-02-04 19:44:48 EST (Thu, 04 Feb 2010)
New Revision: 59495
URL: http://svn.boost.org/trac/boost/changeset/59495
Log:
d
Removed:
   sandbox/statistics/functional/boost/functional/find.hpp
   sandbox/statistics/functional/boost/functional/zscore.hpp
Deleted: sandbox/statistics/functional/boost/functional/find.hpp
==============================================================================
--- sandbox/statistics/functional/boost/functional/find.hpp	2010-02-04 19:44:48 EST (Thu, 04 Feb 2010)
+++ (empty file)
@@ -1,37 +0,0 @@
-///////////////////////////////////////////////////////////////////////////////
-// functional::find.hpp                                                      //
-//                                                                           //
-//  Copyright 2009 Erwann Rogard. Distributed under the Boost                //
-//  Software License, Version 1.0. (See accompanying file                    //
-//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)         //
-///////////////////////////////////////////////////////////////////////////////
-#ifndef BOOST_FUNCTIONAL_FIND_HPP_ER_2009
-#define BOOST_FUNCTIONAL_FIND_HPP_ER_2009
-#include <algorithm>
-
-namespace boost{
-namespace functional{
-
-// std::find made into a functor
-//
-// TODO specialize result_of<In(find)(In,In,const T&)>
-struct find{
-    find(){}
-    
-    template<typename In,typename T>
-    In operator()(In b,In e,const T& t)const;
-};
-
-    
-template<typename In,typename T>
-In find::operator()(In b,In e,const T& t)const{
-    return std::find(
-        b,
-        e,
-        t
-    );
-}
-    
-}//functional
-}//boost
-#endif
\ No newline at end of file
Deleted: sandbox/statistics/functional/boost/functional/zscore.hpp
==============================================================================
--- sandbox/statistics/functional/boost/functional/zscore.hpp	2010-02-04 19:44:48 EST (Thu, 04 Feb 2010)
+++ (empty file)
@@ -1,42 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-// functional::zscore.hpp                                                   //
-//                                                                          //
-//  (C) Copyright 2009 Erwann Rogard                                        //
-//  Use, modification and distribution are subject to the                   //
-//  Boost Software License, Version 1.0. (See accompanying file             //
-//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)        //
-//////////////////////////////////////////////////////////////////////////////
-#ifndef BOOST_FUNCTIONAL_ZSCORE_HPP_ER_2009           
-#define BOOST_FUNCTIONAL_ZSCORE_HPP_ER_2009 
-#include <cmath>
-#include <boost/accumulators/accumulators.hpp>
-#include <boost/accumulators/statistics/mean.hpp>
-#include <boost/accumulators/statistics/variance.hpp>
-#include <boost/functional/mean_var_accumulator.hpp>
-
-namespace boost{
-namespace functional{
-
-template<typename T,typename A = typename mean_var_accumulator<T>::type>
-class zscore{
-    public:
-        typedef T result_type;
-        zscore(){}
-        zscore(const A& a):a_(a){}
-        template<typename T1>
-        result_type operator()(const T1& x)const{
-            T m = boost::accumulators::mean(this->a());
-            T s = boost::accumulators::variance(this->a());
-            s = std::sqrt(s);
-            return (x - m)/s;
-        }
-        const A& a()const{ return this->a_; }
-    private:
-        A a_;
-};
-
-
-}// functional
-}// boost
-
-#endif