Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

Struct template lazy_rolling_variance_impl

Boost , The Boost C++ Libraries BoostBook Documentation Subset , Reference

Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Struct template lazy_rolling_variance_impl

boost::accumulators::impl::lazy_rolling_variance_impl — Immediate (lazy) calculation of the rolling variance.

Synopsis

// In header: <boost/accumulators/statistics/rolling_variance.hpp>
template<typename Sample> 
struct lazy_rolling_variance_impl : public accumulator_base {
  // types
  typedef numeric::functional::fdiv< Sample, std::size_t, void, void >::result_type result_type;
  // construct/copy/destruct
  lazy_rolling_variance_impl(dont_care);
  // public member functions
  template<typename Args> result_type result(Args const &) const;
};

Description

Расчет дисперсии выборкивыполняется следующим образом, см. такжеhttp://en.wikipedia.org/wiki/Algorithms_for_calculating_varianceДля качающегося окна размера, когда, дисперсия вычисляется по формуле

Equation 1.7. 


Когда, дисперсия образца над окном становится:

Equation 1.8. 


lazy_rolling_variance_impl public construct/copy/destruct

  1. <
    lazy_rolling_variance_impl(dont_care);
    >

lazy_rolling_variance_impl public member functions

  1. <
    template<typenameArgs>result_typeresult(Argsconst&args)const;
    >

PrevUpHomeNext

Статья Struct template lazy_rolling_variance_impl раздела The Boost C++ Libraries BoostBook Documentation Subset Reference может быть полезна для разработчиков на c++ и boost.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: Reference ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-05-19 20:54:23/0.0081050395965576/1