Commit Graph

145 Commits

Author SHA1 Message Date
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
Hans Dembinski
47d4d85301 use static_cast_visitor to simplify class implementation, removed custom axis::cast, use standard static_cast instead 2018-07-21 16:19:33 +02:00
Hans Dembinski
2198ff883f clang format everything with new house style 2018-07-19 22:19:01 +02:00
Hans Dembinski
6ff37c06f8 renamed bincount method to size, removed inline where it is not needed, added inline for free functions, made histogram iterator light-weight, put index cache into histogram class 2018-07-16 00:34:01 +02:00
Hans Dembinski
13db98a65b minor code refactoring, better performance for dynamic histogram without inline 2018-07-15 22:29:50 +02:00
Hans Dembinski
c8352f1e50 additional test 2018-07-15 16:49:51 +02:00
Hans Dembinski
bb1518141d more coverage 2018-07-14 19:39:52 +02:00
Hans Dembinski
bca4892d62 cleanup 2018-07-14 17:22:13 +02:00