Commit Graph

88 Commits

Author SHA1 Message Date
Hans Dembinski
109a7183ab WIP: everything compiles but most of histogram class is broken 2018-08-06 00:31:45 +02:00
Hans Dembinski
a84f469944 superficial adaptation of axis types, still need to use allocator internally 2018-08-05 15:56:58 +02:00
Hans Dembinski
93301685a5 superfluous 2018-08-04 12:17:12 +02:00
Hans Dembinski
bdcb1025bc switching back to std::vector to fix tests, not worth the trouble 2018-08-03 22:34:36 +02:00
Hans Dembinski
9a2d4c4165 partial fix 2018-08-03 15:54:02 +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
0fd4b3dd6e removing platform-dependent tests 2018-07-18 13:37:59 +02:00
Hans Dembinski
bb1518141d more coverage 2018-07-14 19:39:52 +02:00
Hans Dembinski
391c2d6e83 more coverage 2018-07-14 19:20:09 +02:00
Hans Dembinski
d83fe99cfc renamed axis.hpp to types.hpp 2018-07-14 18:10:44 +02:00
Hans Dembinski
bca4892d62 cleanup 2018-07-14 17:22:13 +02:00
Hans Dembinski
aed4255fc0 clang format 2018-07-14 16:59:22 +02:00
Hans Dembinski
f62c927e88 fixing travis 2018-07-14 16:16:04 +02:00
Hans Dembinski
bb9289c258 refactoring completed, all tests pass 2018-07-14 15:27:08 +02:00
Hans Dembinski
b5d2b36a25 work in progress: axis_test and detail_test working 2018-07-13 00:41:20 +02:00
Hans Dembinski
06d6635684 better coverage, more consistent exceptions, better handling of transforms 2018-07-11 22:41:42 +02:00
Hans Dembinski
5027bc48c4 removing obsolete header and fix test 2018-07-04 00:30:02 +02:00
Hans Dembinski
8dc93c83d2 clang format 2018-03-15 21:06:41 +01:00
Hans Dembinski
69064b3a54 increased coverage 2018-03-14 22:59:17 +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
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
f14cca8f97 more fixes for travis 2018-03-10 23:19:16 +01:00
Hans Dembinski
3916ea2c31 attempt to fix initializer list issues 2018-03-10 23:09:58 +01:00
Hans Dembinski
4c6cb592db missing includes 2018-03-10 23:00:34 +01:00
Hans Dembinski
460b417338 slightly more coverage 2018-03-10 22:51:08 +01:00
Hans Dembinski
8e904a3645 added reverse iterators, simplified code 2018-03-10 20:20:32 +01:00
Hans Dembinski
739625e531 update copyright notice and renamed axis_iterator 2017-11-28 22:21:03 +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
c5094149de refactoring 2017-11-13 10:54:23 +01:00
Hans Dembinski
9dd822b6e7 better test, better doc 2017-11-08 18:20:27 +01:00
Hans Dembinski
dbd05fd1cd refactoring, allow iteration over axis::any 2017-11-08 18:10:20 +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
9bb392906d different python interface for transformed axes, more code sharing for array_bases in adaptive_storage, reactivate axis_size test, moved bimap into a pointer to make category axis smaller 2017-11-04 20:03:53 +01:00
Hans Dembinski
14c43544bc added pow transform, transforms can now be used from python 2017-11-04 00:15:50 +01:00
Hans Dembinski
757d4b0ca4 interface break for axis, new category axis 2017-11-02 21:43:04 +01:00
Hans Dembinski
3ba9e8e417 make integer type variable, use enum for uoflow option instead of bool for clarity 2017-10-18 18:07:10 +02:00
Hans Dembinski
dbb34cf5c6 clang-format 2017-06-04 11:53:57 +02:00
Hans Dembinski
ef4898ddc2 put axis in extra namespace, put python axis objects in axis submodule 2017-06-04 11:53:15 +02:00
Hans Dembinski
c59fa052e1 fixing doc and renaming default_axes to builtin_axes 2017-05-03 00:05:19 +02:00
Hans Dembinski
e5a31f541a more coverage 2017-05-02 23:08:06 +02:00
Hans Dembinski
aecfab98bb test and fix mixed assignment 2017-04-27 14:30:10 +02:00
Hans Dembinski
8aac475d72 clang-format and possible fix for gcc-4.8 2017-04-25 10:35:42 +02:00
Hans Dembinski
00807ca54d adding transforms for regular_axis 2017-04-24 18:28:57 +02:00
Hans Dembinski
4219a4f44a added reset and clang-format 2017-04-06 22:17:59 +02:00