diff options
Diffstat (limited to 'boost/histogram/fwd.hpp')
-rw-r--r-- | boost/histogram/fwd.hpp | 41 |
1 files changed, 27 insertions, 14 deletions
diff --git a/boost/histogram/fwd.hpp b/boost/histogram/fwd.hpp index 4826ab3e6b..3c48f784b5 100644 --- a/boost/histogram/fwd.hpp +++ b/boost/histogram/fwd.hpp @@ -95,6 +95,9 @@ template <class ValueType = double, bool ThreadSafe = false> class count; template <class ValueType = double> +class fraction; + +template <class ValueType = double> class sum; template <class ValueType = double> @@ -106,12 +109,6 @@ class mean; template <class ValueType = double> class weighted_mean; -template <class T> -class thread_safe; - -template <class T> -struct is_thread_safe; - } // namespace accumulators struct unsafe_access; @@ -148,16 +145,32 @@ class BOOST_ATTRIBUTE_NODISCARD histogram; #endif // BOOST_HISTOGRAM_DOXYGEN_INVOKED +namespace utility { + +template <class ValueType = double> +class clopper_pearson_interval; + +template <class ValueType = double> +class jeffreys_interval; + +template <class ValueType = double> +class wald_interval; + +template <class ValueType = double> +class wilson_interval; + +} // namespace utility + namespace detail { -/* Most of the histogram code is generic and works for any number of axes. Buffers with a - * fixed maximum capacity are used in some places, which have a size equal to the rank of - * a histogram. The buffers are statically allocated to improve performance, which means - * that they need a preset maximum capacity. 32 seems like a safe upper limit for the rank - * (you can nevertheless increase it here if necessary): the simplest non-trivial axis has - * 2 bins; even if counters are used which need only a byte of storage per bin, 32 axes - * would generate of 4 GB. - */ +/* + Most of the histogram code is generic and works for any number of axes. Buffers with a + fixed maximum capacity are used in some places, which have a size equal to the rank of + a histogram. The buffers are allocated from the stack to improve performance, which + means in C++ that they need a preset maximum capacity. 32 seems like a safe upper limit + for the rank. You can nevertheless increase it with the compile-time flag + BOOST_HISTOGRAM_DETAIL_AXES_LIMIT, if necessary. +*/ #ifndef BOOST_HISTOGRAM_DETAIL_AXES_LIMIT #define BOOST_HISTOGRAM_DETAIL_AXES_LIMIT 32 #endif |