Commit Graph

152 Commits

Author SHA1 Message Date
Hans Dembinski
72c7bb0d31 Introduce grid type and derive histogram from grid 2019-01-03 14:27:36 +01:00
Hans Dembinski
dde9fa395d added profile example and improved interface of mean and weighted_mean 2018-12-20 12:59:45 +01:00
Hans Dembinski
e561f0228a getting rid of value_bin_view, since we dont need to use bins as indices anymore 2018-12-18 12:37:57 +01:00
Hans Dembinski
f8b6b28975 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 2018-12-16 19:01:14 +01:00
Hans Dembinski
6d2dc4155b 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 2018-12-12 09:53:16 +01:00
Hans Dembinski
47393b79c6 switch to int everywhere 2018-12-03 23:24:14 +01:00
Hans Dembinski
d140a435d4 added option for indexed to skip extra bins (new default); avoid mp11 in interface; use int as return type for axis::size() 2018-12-02 23:20:15 +01:00
Hans Dembinski
08a09235a4 changed axis::option_type to compile-time option, replaced fancy histogram iterator with indexed range adaptor, cleanup of various headers 2018-11-25 22:35:26 +01:00
Hans Dembinski
4652b6f8a7 fix 2018-11-14 15:52:08 +01:00
Hans Dembinski
5a9307b4a6 clean up of accumuators, use consistent naming, make sure that sum accumulator can be used as RealType in weighted_sum 2018-11-14 14:37:54 +01:00
Hans Dembinski
3512caa654 fix win 2018-11-14 00:15:32 +01:00
Hans Dembinski
a91a459b8b 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 2018-11-14 00:05:19 +01:00
Hans Dembinski
4b63a63764 added sum algorithm 2018-11-13 15:12:00 +01:00
Hans Dembinski
fd31f06729 moved reduce_to to project, closes issue 77 2018-11-11 21:48:35 +01:00
Hans Dembinski
fdfcf804a8 refactoring of make_histogram factories 2018-11-11 13:50:27 +01:00
Hans Dembinski
8f9293db5d more tests 2018-11-09 08:36:04 +01:00
Hans Dembinski
2a1995bb07 first working accumulator support 2018-11-08 23:32:14 +01:00
Hans Dembinski
f81441f53a wip for adding profile support 2018-11-05 23:55:59 +01:00
Hans Dembinski
40c7f0a216 support for axis types which accept multiple arguments 2018-11-04 21:18:58 +01:00
Hans Dembinski
7c14fa4d83 fix 2018-11-04 16:16:07 +01:00
Hans Dembinski
ffbeabf43f fix 2018-11-03 18:46:06 +01:00
Hans Dembinski
827e4793b5 fix 2018-11-03 18:11:31 +01:00
Hans Dembinski
14c99de197 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() 2018-11-03 16:04:58 +01:00
Hans Dembinski
512c080414 added tests for dynamic axis access 2018-11-02 13:21:47 +01:00
Hans Dembinski
ed698d2afe support for vector of non-variant axes 2018-11-02 12:23:16 +01:00
Hans Dembinski
792f16d331 all tests pass for adapted vector and array, map still failing 2018-10-30 17:36:44 +01:00
Hans Dembinski
7046a5ba6e wip, histogram_test fails 2018-10-28 23:05:43 +01:00
Hans Dembinski
d1d9013d7e refactor 2018-10-27 21:17:14 +02:00
Hans Dembinski
d010101a40 refactoring 2018-10-27 14:18:01 +02:00
Hans Dembinski
e35d4f56b6 all tests without streamers passing, need to fix streamers 2018-10-23 01:35:50 +02:00
Hans Dembinski
c35c100654 wip, axis_test passes 2018-10-21 22:23:34 +02:00
Hans Dembinski
6f94a05fd2 WIP, added tests of failing behavior 2018-10-08 07:05:29 +02: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
Hans Dembinski
e8bd056d8e fixed all tests 2018-07-31 22:30:03 +02:00
Hans Dembinski
15c44e9856 fix 2018-07-22 19:05:52 +02:00
Hans Dembinski
72ee4a4f53 fix 2018-07-22 18:56:38 +02:00
Hans Dembinski
55118d329c fix 2018-07-22 18:33:25 +02:00
Hans Dembinski
c67329ffb4 more coverage 2018-07-22 17:30:49 +02:00
Hans Dembinski
8dd0458250 axes behave consistent now: oflow bin added for category axis, NaN always ends up in oflow bin for all axes 2018-07-22 12:13:14 +02:00
Hans Dembinski
d4dbae92f5 clang-format everything 2018-07-21 17:27:18 +02:00