Hans Dembinski
78dbdd52e5
wip
2022-09-19 17:44:44 +02:00
Hans Dembinski
98f634e232
u
2022-09-17 12:14:36 +02:00
Hans Dembinski
3e264ae282
wip
2022-09-16 18:03:17 +02:00
Hans Dembinski
4699dbc0e8
fix tests for msvc 2022 ( #363 )
2022-07-28 19:16:27 +02:00
Hans Dembinski
843cacffbf
fix indexed crash for histograms with axes of zero size (physical or logical) ( #356 )
2022-07-20 09:51:16 +02:00
Hans Dembinski
9caf633366
remove deprecated API, as previously announced ( #359 )
2022-07-19 23:08:38 +02:00
Hans Dembinski
d736aab212
Division support for weighted_sum ( #351 )
2022-02-10 10:36:07 +01:00
Hans Dembinski
bf7712f0d7
regular and variable axis are closed intervals if overflow bin is absent ( #344 )
2021-11-15 09:29:14 +01:00
Hans Dembinski
b482598597
cpp17: set axis compile-time options via deduction guide ( #340 )
2021-11-15 09:29:12 +01:00
Hans Dembinski
1f1eda5c97
added comment about proven usefulness of this optimization
2021-11-15 09:28:35 +01:00
Hans Dembinski
b7e69a0cf9
improved doxygen docs
2021-11-15 09:28:23 +01:00
Hans Dembinski
f6577ec473
deprecate accumulators::sum::small and ::large as workaround for bug in windows.h ( #343 )
2021-11-15 08:18:05 +01:00
Hans Dembinski
6cc4601b87
Fix bug in 1D histogram::fill when axis is growing and argument is single value ( #334 )
2021-09-26 18:31:35 +02:00
Hans Dembinski
4a10c2c11b
Fix and test for missing count division ( #329 )
2021-08-19 14:22:41 +02:00
Hans Dembinski
90a58d03ee
fix scaling for count and update CI ( #328 )
2021-06-27 16:58:14 +02:00
Hans Dembinski
6cde30a366
deprecate accumulators::thread_safe, replace with optionally thread-safe accumulators::count ( #326 )
2021-05-17 22:20:47 +02:00
Hans Dembinski
2d9623d7ff
Generalize indexed; allow interation over user-provided rectangular range ( #321 )
2021-04-24 22:37:42 +02:00
Hans Dembinski
c1b51ad640
fix inclusive() in integer axis ( #320 )
...
It was possible to trigger this bug, which triggered an assertion in debug mode. In release mode, it would have probably caused a segfault.
2021-04-24 12:24:47 +02:00
Hans Dembinski
d60f96ded6
ostream improvements: support more accumulators, unicode plots ( #317 )
2021-04-23 20:15:12 +02:00
Hans Dembinski
c80ab0ca34
add method to get effective count for weighted accumulators ( #312 )
...
following the discussion around boost-histogram's interface (Python wrapper)
2021-04-23 15:06:05 +02:00
Hans Dembinski
14fdb6fb56
Support floating point numbers in thread_safe accumulator, don't inherit from std::atomic ( #315 )
...
* don't inherit from std::atomic anymore
* support float and double
* added .value() method for consistency
2021-04-23 15:04:23 +02:00
Hans Dembinski
5d671b4ffc
update internal detect code, add is_explicitly_convertible and is_complete ( #316 )
2021-04-23 14:58:54 +02:00
Hans Dembinski
f0e9e77a33
fixing bug in detection of weight support in user-defined accumulators ( #314 )
...
* Also fixed the accumulator concept spec, which was wrong
2021-03-18 12:58:12 +01:00
Hans Dembinski
f9920135c5
fix weighted_mean::operator+= and add missing noexcept to operator*= ( #311 )
2021-03-17 11:53:10 +01:00
Hans Dembinski
18b544c6ad
add detail::square ( #309 )
2021-03-16 19:26:52 +01:00
Hans Dembinski
de33fc74a4
Fix variance calculation in accumulators::mean::operator+= ( #308 )
2021-03-16 13:17:40 +01:00
Hans Dembinski
5bd5bfb978
Bug-fix for one-sided cropping and clarify how cropping works ( #302 )
2020-12-07 15:12:20 +01:00
Hans Dembinski
ebe9010db8
bug-fix: handling of special values in ctor and in value method #301
...
* Fixed: Passing nan to the ctor of axis::variable failed to throw std::invalid_argument
* Fixed: axis::variable{{0, 1, inf}}.value(1) was nan, because interpolation would compute 0 * inf
2020-11-10 22:18:32 +01:00
Hans Dembinski
3f9e9c3dc8
Document undefined behavior of accumulator::mean and accumulator::weighted_mean ( #298 )
2020-11-01 23:38:50 +01:00
Hans Dembinski
9a37827066
test and fix for gcc-5 ( #129 )
2020-11-01 19:34:55 +01:00
Hans Dembinski
0840102bfe
Workaround for gcc bug, fix for static global variable and function in header, fix of c++20 warning
2020-11-01 17:10:11 +01:00
Hans Dembinski
2f91f037b9
Replace travis and fix several warnings ( #128 )
...
* fix iteration warning
* fix c++20 warning of deprecated volatile ops
* fix warning of using naked throw
2020-10-31 20:40:11 +01:00
Hans Dembinski
6e78037c43
fix gcc warning -Wtautological-compare in options.hpp ( #293 )
2020-10-30 23:24:03 +01:00
Hans Dembinski
93348cf672
Add doxygen docs to boolean axis
2020-07-25 14:35:46 +02:00
Henry Schreiner
302c72dc72
fix: Boolean axes missing options() method ( #283 )
2020-07-05 08:45:18 +02:00
Hans Dembinski
5e60e86d3c
rename binary to boolean ( #126 )
2020-06-24 23:50:25 +02:00
Hans Dembinski
4736fe761f
remove mp_valid and simplify metaprogramming
2020-06-10 21:56:12 +02:00
Hans Dembinski
a819ef53bf
remove boost.assert and cleanup boost.config
2020-06-08 00:41:12 +02:00
Hans Dembinski
5253358988
add binary axis
2020-06-06 23:45:12 +02:00
Hans Dembinski
1be4c4b3f2
faster for identical axes ( #121 )
2020-05-27 23:28:24 +02:00
Hans Dembinski
751e597384
Fixes bug in histogram::opertor+=, which ignored flow bin entries
2020-05-24 14:44:48 +02:00
Hans Dembinski
e8b61bf483
Flexible category add ( #118 )
...
- added axis::traits::continuous to match axis::traits::is_continuous
- axes now return mutable metadata even when constant
- histograms with discrete growing axis can be added
- use multi_index in histogram interface
2020-05-20 02:42:53 +02:00
Hans Dembinski
6d87576f1d
fixing copy-pasted typo if ostream file descriptions
2020-04-14 17:08:46 +02:00
Hans Dembinski
45d927ac80
missing doxy for sample_type
2020-04-14 17:08:08 +02:00
Hans Dembinski
830f238534
reverting to standalone docs and some doc fixes
2020-03-23 19:12:51 +01:00
Hans Dembinski
e77fb53578
missing include
2020-03-23 15:44:47 +01:00
Hans Dembinski
9382f57f9a
fix for scaling operator bug and accumulator_traits bug and new tests for these bugs
2020-03-11 00:49:05 +01:00
Hans Dembinski
38d9118c29
move reduce_command into separate header
2020-03-10 18:47:51 +01:00
Hans Dembinski
82a22250aa
new docu section about histogram usage in APIs
2020-03-10 13:34:44 +01:00
Hans Dembinski
48226f606e
revert to functions to generate reduce commands
2020-03-09 22:48:28 +01:00