159 Commits

Author SHA1 Message Date
Hans Dembinski
1b6adadae4 nicer stream for histogram 2019-02-03 21:57:53 +01:00
Hans Dembinski
beda2065a4 nicer type handling 2019-01-31 20:53:03 +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
d0a59b9830 return iterator to current bin after fill 2019-01-19 14:57:47 +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
e77e9ab2fe update 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
37ac219921 added profile example and improved interface of mean and weighted_mean 2019-01-11 00:06:26 +01:00
Hans Dembinski
cbdd77f629 getting rid of value_bin_view, since we dont need to use bins as indices anymore 2019-01-11 00:06:26 +01:00
Hans Dembinski
168e41dc83 change the iteration order from 0...N-1 overflow underflow to underflow 0 ... N -1 overflow, move axis allocators at the end of template argument 2019-01-11 00:06:26 +01:00
Hans Dembinski
fb7ca0a0ef added deduction guides for axis types; removed circular axis implementation, implemented circular option for regular, integer, and variable axis; simplified transform spec; added axis::allocator alias 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
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
3b429d889c fix 2019-01-11 00:06:26 +01:00
Hans Dembinski
3661b238b6 clean up of accumuators, use consistent naming, make sure that sum accumulator can be used as RealType in weighted_sum 2019-01-11 00:06:26 +01:00
Hans Dembinski
692f8082c8 fix win 2019-01-11 00:06:26 +01:00
Hans Dembinski
8ec2daed87 rewrote accumulators to use more numerically stable algorithms, do not propagate weight_type down to the accumuator anymore, added neumaier summation, simplified interface of weight accumulator 2019-01-11 00:06:26 +01:00
Hans Dembinski
4bc30a74f0 added sum algorithm 2019-01-11 00:06:25 +01:00
Hans Dembinski
3020e72b53 moved reduce_to to project, closes issue 77 2019-01-11 00:06:25 +01:00
Hans Dembinski
521b43778a refactoring of make_histogram factories 2019-01-11 00:06:25 +01:00
Hans Dembinski
a6cb396704 more tests 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
04ca7a3fee wip for adding profile support 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
8546683a4f fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
4cc4cf0955 fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
3c25dbdecf fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
0b18bd6f0d removed handling of dynamic containers passed via operator() to obtain better non-surprising solution for tuples passed to 1d histogram, weights can be passed at the beginning or end again of the call to histogram::operator() 2019-01-11 00:06:25 +01:00
Hans Dembinski
ed4da69965 added tests for dynamic axis access 2019-01-11 00:06:25 +01:00
Hans Dembinski
23790f4008 support for vector of non-variant axes 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
a17a6c677c wip, histogram_test fails 2019-01-11 00:06:25 +01:00
Hans Dembinski
c6e24e4747 refactor 2019-01-11 00:06:25 +01:00
Hans Dembinski
2164ea85b3 refactoring 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
7b44f83ed1 WIP, added tests of failing behavior 2019-01-11 00:06:25 +01:00
Hans Dembinski
ac0e503436 adapted test 2018-09-15 22:40:47 +02:00
Hans Dembinski
654b5a2be6 removing all python 2018-09-15 13:29:34 +02:00
Hans Dembinski
d2a95786f2 throwing out static_axes and dynamic_axes aliases 2018-08-24 10:51:58 +02:00
Hans Dembinski
9cf5b96478 fix warnings about comparison of signed and unsigned 2018-08-23 13:07:26 +02:00
Hans Dembinski
4e6004af06 fixing a few tests 2018-08-22 12:43:00 +02:00
Hans Dembinski
f1c59deb04 make axis::variable allocator aware 2018-08-21 18:45:52 +02:00
Hans Dembinski
affe12e4cd init, WIP, compilation broken 2018-08-16 00:37:18 +02:00
Hans Dembinski
d4b1715451 all tests pass 2018-08-13 01:24:41 +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
d30f269b3f suppress warning on msvc 2018-08-01 01:13:35 +02:00