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
Hans Dembinski
e751503536
Better documentation on usage of Boost.Accumulators and simplified accumulator_traits
2020-03-09 20:48:50 +01:00
Hans Dembinski
371323a65e
remove the warnings workaround for variant2
2020-03-09 16:28:31 +01:00
Hans Dembinski
0583e6598d
small interface fix and adaptations to current boost develop
2020-01-31 23:58:33 +01:00
Hans Dembinski
3e882bce26
add crop command for reduce
2020-01-31 21:41:32 +01:00
Hans Dembinski
82d9314302
reducible category axis and general reduce upgrade
...
* reducible category axis
* new axis::trait is_ordered and ordered()
* reduce accepts positional commands now
* renamed (old symbols still there, but deprecated)
- static_is_inclusive -> is_inclusive
- static_options -> get_options
- reduce_option -> reduce_command
* reduce commands are now structs derived from reduce_command base instead of functions
* simplified TMP code in axis::traits
* updated and improved docs for reduce
2020-01-06 01:37:52 +01:00
Hans Dembinski
9aef54cf70
Extended custom accumulator section in user guide and added count accumulator
2020-01-03 19:40:41 +01:00
Hans Dembinski
9fb9b5fe31
Reduce template usage in accumulators and add method documentation
2020-01-03 12:57:59 +01:00
Hans Dembinski
e1cd2a911c
add value method to accumulator::sum
2020-01-03 12:15:27 +01:00
Hans Dembinski
270f6a1afb
algorithm::sum gains coverage arg and improved documentation
2020-01-03 11:07:21 +01:00
Hans Dembinski
87e757f9e1
Fixes possible pointer arithmetic past end position in indexed
2020-01-03 01:57:20 +01:00
Hans Dembinski
3dff0438ea
Accumulator fixes
...
* Bug-fix of weighted_sum: variance was not calculated correctly when normal histogram was added to weighted histogram with weighted_sum storage
* Several minor improvements to accumulator interfaces
2020-01-02 19:07:40 +01:00
Hans Dembinski
03d92967f9
use index_type consistently everywhere
2019-12-29 00:02:16 +01:00
Hans Dembinski
1305445ce4
stop compiler optimizations with -ffast-math from break sum accumulator
2019-12-20 20:13:39 +01:00
Hans Dembinski
81cf62d010
fix of reduce when histogram lacks flow bins
...
reducing histograms with axes that lacked flow bins failed before this patch
2019-12-15 18:04:20 +01:00
Hans Dembinski
e415be10cd
fix for fill segfault
...
old code allowed to pass sequences of length 1 with sequence of length N > 1, which is invalid
2019-11-21 12:35:37 +01:00
Hans Dembinski
be058afcaf
fix for axis::get on a variant of pointers
...
* `axis::get<axis_t>(hist.axis(0))` failed, when hist uses an axis tuple
* added missing test for this case
2019-11-21 00:36:59 +01:00
Hans Dembinski
b1988cd75d
make serialize a member function for null_type
2019-11-21 00:24:32 +01:00
Hans Dembinski
e093ecd4b0
Fixes fill from strings and variant of value types and containers of value types
2019-11-21 00:23:10 +01:00
Hans Dembinski
80a6cb90ed
add missing assert message for msvc
2019-11-20 23:24:55 +01:00
Hans Dembinski
d0c1ef5b27
Allow some empty axes
2019-11-18 23:20:34 +01:00
Hans Dembinski
b7fc900e3b
Better error messages when fill arguments do not match accumulator requirements
2019-11-06 00:19:41 +01:00
Hans Dembinski
a0f75b335d
Update concepts
...
* fix documentation of serialization support for all types
* document optional support of weighted fills for custom accumulators
2019-11-04 21:11:19 +01:00
Hans Dembinski
6d7838d8b4
fix for libc++ and c++2a
2019-11-04 20:47:56 +01:00
Hans Dembinski
f56337177d
Fix sample argument bug
...
fixes: a weight could pass as sample and vice versa
2019-10-31 01:45:02 +01:00
Hans Dembinski
3923472642
bug fix of indexed for array storage
2019-10-30 09:26:54 +01:00
Hans Dembinski
1ff14e723c
header fix
2019-10-29 09:39:59 +01:00
Hans Dembinski
9669df7432
reduced usage of ostringstream in exceptions
2019-10-28 20:08:37 +01:00
Hans Dembinski
3b18d9075b
Better deduction guides for axis types and histogram
2019-10-27 17:27:26 +01:00
Henry Schreiner
bf7a97ae8b
Adding empty(hist, cov) ( #245 )
2019-10-27 09:42:24 +01:00
Hans Dembinski
b4be538388
Add logo and improve README
2019-10-26 17:36:26 +02:00
Hans Dembinski
469a866ee6
remove some workarounds
2019-10-26 14:02:15 +02:00
Hans Dembinski
4c1caf3462
removing callable_traits
...
* replacing callable_traits with private implementation
2019-10-26 13:12:45 +02:00
Hans Dembinski
c8b8c4d502
Fix accumulator issues ( #72 )
...
* add weighted_mean::sum_of_weights_squared
* sum of default constructed mean and weighted_mean is now equal to default constructed object
* thread-safe returns a reference to self in operators just like the other accumulators
2019-10-26 11:12:29 +02:00
Hans Dembinski
ebabd550a0
Replace detail::compressed_pair with boost::core::empty_value
2019-10-24 21:47:17 +02:00
Hans Dembinski
5e24146062
re-introduce optimizing array_wrapper for serialization
2019-10-22 23:35:36 +01:00
Hans Dembinski
84ce3caad4
macro update
2019-10-21 22:18:23 +01:00
Hans Dembinski
9dd4a04a10
Separate serialization code from Boost.Serialization
2019-10-20 21:40:02 +01:00
Hans Dembinski
d68cc4729c
minor serialization update
2019-10-20 15:00:05 +01:00
Hans Dembinski
78679e5fa9
missing headers
2019-10-19 20:09:14 +02:00
Hans Dembinski
94857351cc
fix shrink when value is not exactly equal to bin edge
2019-10-19 19:04:13 +01:00