Commit Graph

133 Commits

Author SHA1 Message Date
Hans Dembinski
826dfaddb6 reverted removing generic_iterator 2018-08-13 00:59:07 +02:00
Hans Dembinski
be5d706769 unified histogram template 2018-08-12 22:25:32 +02:00
Hans Dembinski
a1cecfb698 wip 2018-08-06 22:58:29 +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
d1a3541bdb simplify 2018-08-01 00:07:51 +02:00
Hans Dembinski
e8bd056d8e fixed all tests 2018-07-31 22:30:03 +02:00
Hans Dembinski
cbae130566 reverting last change, abort is necessary even in production code 2018-07-22 23:34:11 +02:00
Hans Dembinski
8c0f521e58 more coverage 2018-07-22 23:27:00 +02:00
Hans Dembinski
c67329ffb4 more coverage 2018-07-22 17:30:49 +02:00
Hans Dembinski
d4dbae92f5 clang-format everything 2018-07-21 17:27:18 +02:00
Hans Dembinski
08ba5c39c4 fixed missing adaptation in python interface 2018-07-16 00:42:31 +02:00
Hans Dembinski
d83fe99cfc renamed axis.hpp to types.hpp 2018-07-14 18:10:44 +02:00
Hans Dembinski
c7bca32b59 cleanup 2018-07-13 01:35:34 +02:00
Hans Dembinski
06d6635684 better coverage, more consistent exceptions, better handling of transforms 2018-07-11 22:41:42 +02:00
Hans Dembinski
7040e58215 simpler 2018-07-08 21:47:41 +02:00
Hans Dembinski
da5f42b3da support for operator[] 2018-07-08 19:12:13 +02:00
Hans Dembinski
b9a35f7b4f renamed method bin to method at 2018-07-05 09:10:04 +02:00
Hans Dembinski
8d25563438 increase test coverage, simplify testing of python stuff, add support for tests which intentionally trigger an assert 2018-07-04 21:34:34 +02:00
Hans Dembinski
e119bf0601 fixed py3 bugs 2018-07-04 00:22:48 +02:00
Hans Dembinski
56ffce6223 fix of build system and some gcc warnings 2018-07-02 21:21:46 +02:00
Hans Dembinski
316789b765 fixed python tests, make debug build by default, started to reduce template dependencies 2018-07-02 13:08:07 +02:00
Hans Dembinski
cfd47c4c11 fixing most of the python errors 2018-07-02 01:01:04 +02:00
Hans Dembinski
dab9c94c6f whitespace 2018-03-28 17:03:18 +02:00
Hans Dembinski
e6c9d717c0 replacing bin method with operator() 2018-03-28 16:51:53 +02:00
Hans Dembinski
88ccfee628 simplified and corrected headers 2018-03-14 23:16:35 +01:00
Hans Dembinski
ce93a88986 renamed Storage::bin_type to element_type; added Storage::const_reference; renamed histogram::bin_iterator to const_iterator; added bin(unsigned) method to histogram::const_iterator, which returns the current bin_type for that dimension 2018-03-13 00:26:41 +01:00
Hans Dembinski
d6b88544c2 fix for last commit 2018-03-11 23:59:19 +01:00
Hans Dembinski
698e94e0d2 simpler 2018-03-11 23:55:00 +01:00
Hans Dembinski
3a7c8cb715 always return matching types in bin_views 2018-03-11 20:51:03 +01:00
Hans Dembinski
37ccf6d80c finally elegant iteration over axis bins 2018-03-11 19:59:03 +01:00
Hans Dembinski
fe4bd1701d switched to lazy interval_view to improve performance 2018-03-11 17:08:13 +01:00
Hans Dembinski
460b417338 slightly more coverage 2018-03-10 22:51:08 +01:00
Hans Dembinski
541ca5eb32 simplification and clean-up 2018-03-02 17:21:28 +01:00
Hans Dembinski
8b11d8cdc5 fixed all the bugs and all the tests 2018-03-01 18:11:50 +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
3e825b449a make type of weight argument flexible, added sample type, some simplification to fill argument parsing 2018-02-28 23:07:36 +01:00
Hans Dembinski
d6b06a0022 back to histogram master template 2017-12-10 20:05:35 +01:00
Hans Dembinski
739625e531 update copyright notice and renamed axis_iterator 2017-11-28 22:21:03 +01:00
Hans Dembinski
8cee054633 added missing reduce_to to Python 2017-11-13 11:37:44 +01:00
Hans Dembinski
c5094149de refactoring 2017-11-13 10:54:23 +01:00
Hans Dembinski
0637deed4e renaming weight to weight_counter, replacing asserts on user errors with throws, guide improvements 2017-11-10 16:38:58 +01:00
Hans Dembinski
776bcbd4fe improving documentation and tests of using iterator ranges, expanded guide 2017-11-09 16:35:01 +01:00
Hans Dembinski
0923ef3be2 support count keyword on the python side 2017-11-09 12:10:16 +01:00
Hans Dembinski
b40a68bb54 improving examples, and fixed bug in Python histogram constructor, now all axis types are recognized 2017-11-09 11:38:51 +01:00
Hans Dembinski
dbd05fd1cd refactoring, allow iteration over axis::any 2017-11-08 18:10:20 +01:00
Hans Dembinski
d9a792a666 adding and testing operators on the python side 2017-11-08 16:38:44 +01:00
Hans Dembinski
baf81b9d62 fixing issues with generic axis type 2017-11-08 10:48:25 +01:00
Hans Dembinski
1a12c574c6 getting rid of utility functions, tested and fixed bugs related to unusual axis value types 2017-11-07 19:29:22 +01:00
Hans Dembinski
de5ddecbbd make iteration and bin access consistent in python and c++, exclude under/overflow bins now 2017-11-06 14:22:37 +01:00
Hans Dembinski
ba274ed04d use std::type_traits everywhere 2017-11-06 11:49:47 +01:00