mirror of
https://github.com/boostorg/histogram.git
synced 2025-05-11 05:07:58 +00:00
* Added fraction accumulator * Added binomial proportion interval computers: Wald, Wilson Score, Clopper Pearson, Jeffreys * Width of intervals for all classes can be set via deviation or confidence_level * Support valarray in histogram::fill * Add fraction and count to user guide Co-authored-by: Hans Dembinski <hans.dembinski@gmail.com> Co-authored-by: Hans Dembinski <HDembinski@users.noreply.github.com>
23 lines
1.0 KiB
C++
23 lines
1.0 KiB
C++
// Copyright 2019 Henry Schreiner, Hans Dembinski
|
|
//
|
|
// 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)
|
|
|
|
// The header windows.h and possibly others illegially do the following
|
|
#define small char
|
|
// which violates the C++ standard. We make sure here that including our headers work
|
|
// nevertheless by avoiding the preprocessing token `small`. For more details, see
|
|
// https://github.com/boostorg/histogram/issues/342
|
|
|
|
// include all Boost.Histogram header here; see odr_main_test.cpp for details
|
|
#include <boost/histogram.hpp>
|
|
#include <boost/histogram/ostream.hpp>
|
|
#include <boost/histogram/serialization.hpp>
|
|
|
|
#include <boost/histogram/detail/ignore_deprecation_warning_begin.hpp>
|
|
#include <boost/histogram/detail/ignore_deprecation_warning_end.hpp>
|
|
#include <boost/histogram/utility/clopper_pearson_interval.hpp>
|
|
#include <boost/histogram/utility/jeffreys_interval.hpp>
|
|
#include <boost/histogram/utility/wald_interval.hpp>
|