Commit Graph

140 Commits

Author SHA1 Message Date
Hans Dembinski
31c762b359 new interface for proxy returned by indexed, new test and fixes for boost.range support 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
36a5dba626 cooler example 2019-01-11 00:06:26 +01:00
Hans Dembinski
0569d4c0b6 more threads to make a potential data race more likely 2019-01-11 00:06:26 +01:00
Hans Dembinski
33530a5bd9 fix travis and windows 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
3f1bd7ec65 fix gcc 2019-01-11 00:06:26 +01:00
Hans Dembinski
c0009761f9 fix ci 2019-01-11 00:06:26 +01:00
Hans Dembinski
abcc2c7aea fixes 2019-01-11 00:06:26 +01:00
Hans Dembinski
4d3f9afb74 new example with histogram thats filled in parallel 2019-01-11 00:06:26 +01:00
Hans Dembinski
2e68e77e4e added license 2019-01-11 00:06:26 +01:00
Hans Dembinski
3020e72b53 moved reduce_to to project, closes issue 77 2019-01-11 00:06:25 +01:00
Hans Dembinski
4233167d54 updated examples 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
a2cb137b93 fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
16ccde46ee 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
693bb0d1d9 now also support vector of plain axis types 2019-01-11 00:06:25 +01:00
Hans Dembinski
2131875ea7 simpler 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
450f80cb8a generialization of axis::variant 2019-01-11 00:06:25 +01:00
Hans Dembinski
87e6b29600 win fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
949775a9f4 try win fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
b8d158e94e refactoring axis types into separate functions, make them use compressed_pair instead of crappy custom empty base optimization 2019-01-11 00:06:25 +01:00
Hans Dembinski
e0b7070276 fixing serialization 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
7822c87f4f fixed axis_test 2019-01-11 00:06:25 +01:00
Hans Dembinski
793ef884df wip: fixing tests, removed weight_counter from adaptive_storage, storage scaling with double 2019-01-11 00:06:25 +01:00
Hans Dembinski
c237b97e94 wip: overhauled axis types, axis::any -> axis::variant, axis::traits provide features 2019-01-11 00:06:25 +01:00
Hans Dembinski
feaf5bd2c8 fixes for stevens review part 1 2019-01-11 00:06:25 +01:00
Hans Dembinski
a8e170d171 bug-fix of example 2019-01-11 00:06:25 +01:00
Hans Dembinski
cdc67e6505 whitespace 2018-09-16 18:49:54 +02:00
Mateusz Łoskot
8d73d1cfa3 Add examples/Jamfile to build example programs 2018-09-16 01:09:42 +02:00
Hans Dembinski
654b5a2be6 removing all python 2018-09-15 13:29:34 +02:00
Hans Dembinski
06596efe4e doc fixes 2018-08-24 11:22:31 +02:00
Hans Dembinski
d2a95786f2 throwing out static_axes and dynamic_axes aliases 2018-08-24 10:51:58 +02:00
Hans Dembinski
f1c59deb04 make axis::variable allocator aware 2018-08-21 18:45:52 +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
255b242ad3 suppress final warning on msvc 2018-08-01 01:25:55 +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
e7e590e043 fix 2018-07-16 23:19:16 +02:00
Hans Dembinski
ccbe55f5f3 nicer output and fixed doc error 2018-07-14 20:47:14 +02:00
Hans Dembinski
bb9289c258 refactoring completed, all tests pass 2018-07-14 15:27:08 +02:00
Hans Dembinski
052585b488 work in progress, everything compiles again 2018-07-14 01:37:34 +02:00
Hans Dembinski
edae893c2a fixing doc mistakes 2018-07-11 11:13:44 +02:00
Hans Dembinski
e2bb630cb0 fixed examples and updated readme 2018-07-11 11:05:24 +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
43dbc112b3 fix python tests 2018-07-04 23:51:42 +02:00
Hans Dembinski
e119bf0601 fixed py3 bugs 2018-07-04 00:22:48 +02:00
Hans Dembinski
cfd47c4c11 fixing most of the python errors 2018-07-02 01:01:04 +02:00
Hans Dembinski
5fc67137e4 issue 45: use operator() to fill; issue 44: removed sum(), use std::for_each or std::accumulate instead; added support for stl containers as fill and index arguments 2018-07-01 21:41:09 +02:00
Hans Dembinski
d3bba7c4bc fat extension of user gude 2017-11-09 23:02:13 +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
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
cba4f7796b syncing examples 2017-11-08 16:15:26 +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
76c596dfc4 allocator is gone, accepting any sequence in python for fill is back, refactoring in adaptive_storage 2017-11-05 21:54:14 +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
7717852168 simpler, restrict numpy arrays to type double 2017-11-03 18:35:01 +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
69ab4c1030 better code example checks, better support for dynamic reduce 2017-10-18 15:51:16 +02:00
Hans Dembinski
5e365b6401 fixing interface 2017-09-01 00:36:17 +02:00
Hans Dembinski
367131c336 fixing travis 2017-06-06 15:22:50 +02:00
Hans Dembinski
b71638f603 switching back to axis method 2017-06-04 18:17:42 +02:00
Hans Dembinski
ab6b36762c better name 2017-06-04 18:05:20 +02:00
Hans Dembinski
d5097869c6 updating tests, include examples in docu 2017-06-04 18:00:49 +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@gmail.com
758a8bceaa never mind, fill is definitely better than increment 2017-02-11 19:38:42 +00:00
hans.dembinski@gmail.com
fcf9366d89 switch from fill to increment 2017-02-11 18:41:44 +00:00
Hans Dembinski
916e687376 adding examples, bug-fix in cmake 2016-04-10 17:04:04 -04:00
Hans Dembinski
3a7aa71c9e moving stuff around, better cmake 2016-04-10 16:28:06 -04:00
Hans Dembinski
492d73f18f several bug-fixes, more tests for new weight-filling 2016-04-09 22:36:53 -04:00
Hans Dembinski
fbea37a0af more tests, added missing libm to linker 2016-04-09 19:02:39 -04:00
Hans Dembinski
d2306810ee faster with static_vector 2016-04-09 17:27:03 -04:00
Hans Dembinski
103fa6cf0a new feature, filling with weights 2016-04-09 16:31:16 -04:00
Hans Dembinski
14c7a282dc moving nstore into details 2016-04-08 19:09:45 -04:00
Hans Dembinski
c4cf612a13 asserts on dimension of input 2016-04-07 21:04:07 -04:00
Hans Dembinski
19a740fa68 init from private repository 2016-04-06 09:23:37 -04:00