47 Commits

Author SHA1 Message Date
Hans Dembinski
f20abe19fb rename adaptive_storage to unlimited_storage, closes #150 2019-02-06 23:34:58 +01:00
Hans Dembinski
72d9ce635f axis:replaced operator() with index and operator[] with bin 2019-01-27 20:56:15 +01:00
Hans Dembinski
2ea4051e62 big clean-up of reference docu, fix for axis::variant<const Ts&...>, renamed operator_ostream header to ostream 2019-01-20 22:48:39 +01:00
Hans Dembinski
bc6ee8f89e switch second indexed argument to enum class and use use_default everywhere 2019-01-16 22:00:59 +01:00
Hans Dembinski
f1ac913246 better solution for adding optional update method when axis has growth 2019-01-13 23:18:39 +01:00
Hans Dembinski
8e9dd85837 wip: growing axis for axis::integer 2019-01-13 22:14:53 +01:00
Hans Dembinski
0479c512e3 rename option_type to option, new growth option, new utiltity functions test and join 2019-01-13 14:25:34 +01:00
Hans Dembinski
5ba3c694b0 fix 2019-01-12 21:40:11 +01:00
Hans Dembinski
7be6dd27f6 wip, support for growing axes 2019-01-11 00:11:34 +01:00
Hans Dembinski
e80ae946e6 full iterator support 2019-01-11 00:06:26 +01:00
Hans Dembinski
188bf8ecbe Introduce grid type and derive histogram from grid 2019-01-11 00:06:26 +01:00
Hans Dembinski
2d5fb32b88 improved support and testing of axes over boost::units 2019-01-11 00:06:26 +01:00
Hans Dembinski
c4c2476012 use indexed in reduce and project, making index_mapper obsolete 2019-01-11 00:06:26 +01:00
Hans Dembinski
1e0dcc72fb switch to int everywhere 2019-01-11 00:06:26 +01:00
Hans Dembinski
84641d0f41 added option for indexed to skip extra bins (new default); avoid mp11 in interface; use int as return type for axis::size() 2019-01-11 00:06:26 +01:00
Hans Dembinski
b7dd2865cc use correct size for buffer if size is known at compile-time 2019-01-11 00:06:26 +01:00
Hans Dembinski
00cd2e866e changed axis::option_type to compile-time option, replaced fancy histogram iterator with indexed range adaptor, cleanup of various headers 2019-01-11 00:06:26 +01:00
Hans Dembinski
3020e72b53 moved reduce_to to project, closes issue 77 2019-01-11 00:06:25 +01:00
Hans Dembinski
b82aa3b632 first working accumulator support 2019-01-11 00:06:25 +01:00
Hans Dembinski
773539f59b generalization of has_method_value_with_..., removed obsolete classify_container 2019-01-11 00:06:25 +01:00
Hans Dembinski
b808de8154 support for axis types which accept multiple arguments 2019-01-11 00:06:25 +01:00
Hans Dembinski
693bb0d1d9 now also support vector of plain axis types 2019-01-11 00:06:25 +01:00
Hans Dembinski
fb80067aa5 added support for boost::accumulators, reintroduced add method to storage interface 2019-01-11 00:06:25 +01:00
Hans Dembinski
d326514ac8 all tests pass for adapted vector and array, map still failing 2019-01-11 00:06:25 +01:00
Hans Dembinski
61be24b94d working version 2019-01-11 00:06:25 +01:00
Hans Dembinski
a17a6c677c wip, histogram_test fails 2019-01-11 00:06:25 +01:00
Hans Dembinski
390fe636a2 more noexcept and fixed iterator_value_type 2019-01-11 00:06:25 +01:00
Hans Dembinski
b8d158e94e refactoring axis types into separate functions, make them use compressed_pair instead of crappy custom empty base optimization 2019-01-11 00:06:25 +01:00
Hans Dembinski
3b60fd9102 replaced overload with static_if 2019-01-11 00:06:25 +01:00
Hans Dembinski
6664a8684c all tests without streamers passing, need to fix streamers 2019-01-11 00:06:25 +01:00
Hans Dembinski
c02e7b0f22 wip, axis_test passes 2019-01-11 00:06:25 +01:00
Hans Dembinski
7822c87f4f fixed axis_test 2019-01-11 00:06:25 +01:00
Hans Dembinski
9c15c580a5 use std::size_t instead of int for axis indices, use asserts to make sure that arguments for reduce_to are proper, added missing copyright statements 2018-08-14 23:27:42 +02:00
Hans Dembinski
be5d706769 unified histogram template 2018-08-12 22:25:32 +02:00
Hans Dembinski
109a7183ab WIP: everything compiles but most of histogram class is broken 2018-08-06 00:31:45 +02:00
Hans Dembinski
701221daee less warnings on MSVC 2018-07-22 16:29:08 +02:00
Hans Dembinski
d4dbae92f5 clang-format everything 2018-07-21 17:27:18 +02:00
Hans Dembinski
841ba80229 remove redundant tests and definitions 2018-07-21 16:17:36 +02:00
Hans Dembinski
cb9e6696b6 missing files 2018-07-19 23:50:48 +02:00
Hans Dembinski
fd38805b0b merged meta_test with detail_test and test detail::cat 2018-03-10 22:08:49 +01:00
Hans Dembinski
541ca5eb32 simplification and clean-up 2018-03-02 17:21:28 +01:00
Hans Dembinski
f1b711d634 separate bin type properties from histogram interface, made interface more flexible, histogram_test is failing, needs investigation 2018-03-01 15:57:55 +01:00
Hans Dembinski
470492c748 adding value_iterator for histogram, make weight_counter public, allow passing weight_counter as argument to array_storage 2017-11-28 15:55:18 +01:00
Hans Dembinski
e0c8138539 fix the reduce mess 2017-11-11 12:51:05 +01:00
Hans Dembinski
c5d2eabda0 adding reduce-remove 2017-11-10 23:13:48 +01:00
Hans Dembinski
fa3ba7bca8 improved handling of vairance-less storage policies 2017-11-10 20:01:55 +01:00
Hans Dembinski
c07162e7a8 fixed reduce function 2017-10-13 16:26:41 +02:00