Commit Graph

745 Commits

Author SHA1 Message Date
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
cb9e6696b6 missing files 2018-07-19 23:50:48 +02:00
Hans Dembinski
f5d1c0a00d internal refactoring and a bug fix 2018-07-19 23:48:48 +02:00
Hans Dembinski
2198ff883f clang format everything with new house style 2018-07-19 22:19:01 +02:00
Hans Dembinski
427fc5c9a1 refactoring of axes class hierarchy, implemented common base type optimization for axis::any 2018-07-19 00:25:13 +02:00
Hans Dembinski
bf945d990e fix osx 2018-07-17 21:36:27 +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
bb1518141d more coverage 2018-07-14 19:39:52 +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
4e25589f39 fix msvc 2018-07-14 16:33:17 +02:00
Hans Dembinski
0c48422bee fixing all 2018-07-14 16:17:22 +02:00
Hans Dembinski
75fb2a3cdc fixing msvc 2018-07-14 16:13:49 +02:00
Hans Dembinski
90830c4492 fixing msvc 2018-07-14 16:05:42 +02:00
Hans Dembinski
ceb095c840 fixing msvc 2018-07-14 15:58:31 +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
e1fa2fa644 work in progress 2018-07-13 23:21:04 +02:00
Hans Dembinski
39a3d1ad69 restored and tested for_each 2018-07-13 01:24:16 +02:00
Hans Dembinski
b5d2b36a25 work in progress: axis_test and detail_test working 2018-07-13 00:41:20 +02:00
Hans Dembinski
165d9dbec1 fix msvc 2018-07-11 23:52:00 +02:00
Hans Dembinski
f64387e2e9 attempt to fix msvc 2018-07-11 23:34:21 +02:00
Hans Dembinski
06d6635684 better coverage, more consistent exceptions, better handling of transforms 2018-07-11 22:41:42 +02:00
Hans Dembinski
2d470faf63 fixed histogram iterator 2018-07-11 11:08:56 +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
dfafc863fe more coverage 2018-07-05 01:05:30 +02:00
Hans Dembinski
4629a8296e fix some warnings 2018-07-05 00:21:42 +02:00
Hans Dembinski
43dbc112b3 fix python tests 2018-07-04 23:51:42 +02:00
Hans Dembinski
d03bf52ffa fix bug 2018-07-04 21:43:58 +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
901750b15a missing for check castable 2018-07-04 21:19:10 +02:00
Hans Dembinski
b7c1a08b98 return copy instead of dangling reference, add op+ for double argument 2018-07-04 21:18:19 +02:00
Hans Dembinski
0c9f4c00b4 instead of implicitly convertible check explicitly convertible 2018-07-04 21:17:25 +02:00
Hans Dembinski
418715a249 dont copy arguments 2018-07-04 21:14:42 +02:00
Hans Dembinski
f9203a1159 fixed build, removed implicit conversion of weight_counter to double, make serialization really optional 2018-07-03 00:08:34 +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
6141ec0ed6 throw again on invalid user input 2018-07-02 09:54:56 +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
jbuonagurio
c8993a9219 __attribute__((unused)) is a GCC extension; disable with MSVC. 2018-06-28 12:13:21 -04:00
jbuonagurio
6cb7774625 Fix for MSVC warning C4068: ignore GCC pragmas. 2018-06-28 12:09:56 -04:00
jbuonagurio
6eb9eaa44a Fix for MSVC error C3538: auto could be unsigned long or size_t in this context. 2018-06-28 12:02:52 -04:00
jbuonagurio
bdab3ba4b9 Workaround for MSVC errors C2976 and C3203: add specializations for all built-in types. 2018-06-28 12:00:45 -04:00
Hans Dembinski
e82284be99 clf 2018-03-28 16:58:40 +02:00
Hans Dembinski
e6c9d717c0 replacing bin method with operator() 2018-03-28 16:51:53 +02:00
Hans Dembinski
dac1a0c0be clang format 2018-03-28 13:22:10 +02:00
Hans Dembinski
23378345e7 STL support, making weight_counter implicitly convertible to RealType so that stl algorithms work with iterators 2018-03-28 12:05:10 +02:00
Hans Dembinski
8dc93c83d2 clang format 2018-03-15 21:06:41 +01:00
Hans Dembinski
6e7673204c better testing of adaptive_storage without using brittle tricks 2018-03-15 20:44:00 +01:00
Hans Dembinski
88ccfee628 simplified and corrected headers 2018-03-14 23:16:35 +01:00
Hans Dembinski
69064b3a54 increased coverage 2018-03-14 22:59:17 +01:00
Hans Dembinski
acb0a38d20 fixed iterator::bin() method; got rid of explicit specialization; more tests 2018-03-13 21:18:23 +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
bb41363d6d consistent naming 2018-03-12 20:58:14 +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
5a546b0971 clang-format 2018-03-10 22:51:54 +01:00
Hans Dembinski
460b417338 slightly more coverage 2018-03-10 22:51:08 +01:00
Hans Dembinski
18a5936490 superfluous return statements 2018-03-10 21:30:50 +01:00
Hans Dembinski
22f0510b0d fixing gcc issues 2018-03-10 21:29:48 +01:00
Hans Dembinski
8e904a3645 added reverse iterators, simplified code 2018-03-10 20:20:32 +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
d2e2d23c77 clang-format 2018-02-28 23:14:28 +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
707adf08a5 minor improvements 2018-01-18 11:03:13 +01:00
Hans Dembinski
90b0e7f9c5 corrected error message 2017-12-13 13:24:20 +01:00
Hans Dembinski
0109ab04e3 removing all the forwarding 2017-12-10 23:02:31 +01:00
Hans Dembinski
6b691543b8 added variance iterator, lin_visitor does not need to be templated 2017-12-10 22:01:59 +01:00
Hans Dembinski
6068e96dab clang format and renaming iterator header 2017-12-10 20:39:27 +01:00
Hans Dembinski
d6b06a0022 back to histogram master template 2017-12-10 20:05:35 +01:00
Hans Dembinski
c64b2356bd fix increment logic 2017-11-28 22:53:45 +01:00
Hans Dembinski
739625e531 update copyright notice and renamed axis_iterator 2017-11-28 22:21:03 +01:00
Hans Dembinski
febe1b5e07 fix some warnings 2017-11-28 18:10:48 +01:00
Hans Dembinski
9b8540f840 fix travis 2017-11-28 17:47:16 +01:00
Hans Dembinski
09028f390c fix travis 2017-11-28 17:38:13 +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
06dda8c765 fix for issue #34 2017-11-20 11:22:29 +01:00
Hans Dembinski
1f3335fe9c dont include array_storage by default 2017-11-13 11:37:18 +01:00
Hans Dembinski
c5094149de refactoring 2017-11-13 10:54:23 +01:00
Hans Dembinski
e0c8138539 fix the reduce mess 2017-11-11 12:51:05 +01:00
Hans Dembinski
c5d2eabda0 adding reduce-remove 2017-11-10 23:13:48 +01:00
Hans Dembinski
fa3ba7bca8 improved handling of vairance-less storage policies 2017-11-10 20:01:55 +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
d3bba7c4bc fat extension of user gude 2017-11-09 23:02:13 +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
5f44606006 missing update 2017-11-08 12:43:20 +01:00
Hans Dembinski
4068990a13 moving code to extra file 2017-11-08 12:40:25 +01:00
Hans Dembinski
baf81b9d62 fixing issues with generic axis type 2017-11-08 10:48:25 +01:00
Hans Dembinski
374e2f7029 fix 2017-11-07 22:26:40 +01:00
Hans Dembinski
d7299896f0 avoid warning 2017-11-07 22:26:36 +01:00
Hans Dembinski
57c0c129f1 fix 2017-11-07 22:05:04 +01:00
Hans Dembinski
91a68acfe0 fix 2017-11-07 21:40:18 +01:00
Hans Dembinski
73ba778f00 minor 2017-11-07 20:34:28 +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
07d8dff1e0 refactor 2017-11-06 12:03:18 +01:00
Hans Dembinski
52dfdbc585 clang format 2017-11-06 11:50:05 +01:00
Hans Dembinski
ba274ed04d use std::type_traits everywhere 2017-11-06 11:49:47 +01:00
Hans Dembinski
5dee79f556 improving and testing operators 2017-11-05 23:44:37 +01:00
Hans Dembinski
371cbc9385 support multiply and test it 2017-11-05 22:18:58 +01:00
Hans Dembinski
b7d5350a64 comment added 2017-11-05 22:00:40 +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
feadbcd05b fix 2017-11-04 21:21:37 +01:00
Hans Dembinski
67c01e0735 compressed regular axis 2017-11-04 20:49:29 +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
da0e6dc774 slightly simpler 2017-11-04 10:34:37 +01:00
Hans Dembinski
03c8436f4c fix 2017-11-04 00:32:22 +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
141e41adc7 better support for transforms 2017-11-03 19:39:07 +01:00
Hans Dembinski
b4d3a38961 fix 2017-11-02 21:55:38 +01:00
Hans Dembinski
757d4b0ca4 interface break for axis, new category axis 2017-11-02 21:43:04 +01:00
Hans Dembinski
e0304abc71 gcc-4.8 fix 2017-10-30 10:16:09 +01:00
Hans Dembinski
9d9b44ea4d gcc-4.8 fix 2017-10-30 10:01:54 +01:00
Hans Dembinski
0be8c7b2e2 simpler 2017-10-27 20:42:20 +02: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
c6c17ad4a3 use string_view in interface 2017-10-13 17:00:15 +02:00
Hans Dembinski
c07162e7a8 fixed reduce function 2017-10-13 16:26:41 +02:00
Hans Dembinski
7e8b2bb403 replaced container_storage with array_storage, simplified comparison between storage types 2017-10-13 11:20:59 +02:00
Hans Dembinski
ffff7b2eae fix travis 2017-09-01 00:06:28 +02:00
Hans Dembinski
43927894be fix travis 2017-06-06 12:04:08 +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
6ec89079e0 fixing issues with left,right,center 2017-06-03 14:00:13 +02:00
Hans Dembinski
986e64a7cb reduce feature implemented 2017-06-03 11:52:06 +02:00
Hans Dembinski
def7d6b05a use new add method and clangformat 2017-05-30 19:26:22 +02:00
Hans Dembinski
b94d21a46f Merge branch 'master' into reduce 2017-05-30 19:03:23 +02:00
Hans Dembinski
1f93088554 testing and fixing bug related to adding histogram with weighted entries 2017-05-30 18:57:53 +02:00
Hans Dembinski
3ad8a9e4b8 adding reduce with tests 2017-05-14 18:44:23 +02:00
Hans Dembinski
88eda67f49 in progress 2017-05-05 00:14:28 +02:00
Hans Dembinski
9606c38a64 prepare/change interface for point-wise adding 2017-05-05 00:13:44 +02:00
Hans Dembinski
c59fa052e1 fixing doc and renaming default_axes to builtin_axes 2017-05-03 00:05:19 +02:00
Hans Dembinski
a8cea9fb6e resolve ambiguity for gcc 2017-05-02 22:53:34 +02:00
Hans Dembinski
9272cf896b nicer fill interface and clang-format 2017-05-02 14:22:27 +02:00
Hans Dembinski
aecfab98bb test and fix mixed assignment 2017-04-27 14:30:10 +02:00
Hans Dembinski
ce7046d1a4 fix serialization issues 2017-04-27 13:48:21 +02:00
Hans Dembinski
784e482037 merge tests for static and dynamic variant 2017-04-27 11:38:11 +02:00
Hans Dembinski
ce254b91d8 use string_view if it is available 2017-04-25 11:04:59 +02:00
Hans Dembinski
812b607947 simpler 2017-04-25 10:45:37 +02:00
Hans Dembinski
8aac475d72 clang-format and possible fix for gcc-4.8 2017-04-25 10:35:42 +02:00
Hans Dembinski
f9687a12f4 fix 2017-04-25 10:19:37 +02:00
Hans Dembinski
a2bc4f428d use integral constants to access axis in histogram statically 2017-04-25 10:10:22 +02:00
Hans Dembinski
00807ca54d adding transforms for regular_axis 2017-04-24 18:28:57 +02:00
Hans Dembinski
840890d6ca test unhittable branch 2017-04-06 22:47:25 +02:00
Hans Dembinski
4219a4f44a added reset and clang-format 2017-04-06 22:17:59 +02:00
Hans Dembinski
ad0a6b3808 no constexpr 2017-04-06 22:00:17 +02:00
Hans Dembinski
a023a46f90 use static dispatch 2017-04-06 21:57:14 +02:00
hans.dembinski@gmail.com
5231ac53eb added conversion between dynamic and static axes vectors 2017-04-06 12:15:30 +02:00
Hans Dembinski
1ce4533789 polishing 2017-03-31 22:59:55 +02:00
Hans Dembinski
f6dd8b2cd2 support custom axis objects 2017-03-30 22:28:30 +02:00
Hans Dembinski
7606d375fe clangformat 2017-03-29 22:26:14 +02:00
Hans Dembinski
ca3fd5d3a9 missing files 2017-03-29 21:15:57 +02:00
Hans Dembinski
7bc9bd8016 polishing 2017-03-29 21:15:43 +02:00
Hans Dembinski
4ce3973c77 more tests and a fix 2017-03-28 23:51:48 +02:00
Hans Dembinski
3b31bf51df clang-format 2017-03-28 23:27:22 +02:00
Hans Dembinski
493d6c7974 unified both histogram classes 2017-03-28 23:21:21 +02:00
Hans Dembinski
f589156407 fix 2017-03-28 00:27:55 +02:00
Hans Dembinski
908f8fd9f6 more test cov 2017-03-27 21:58:01 +02:00
hans.dembinski@gmail.com
3c4eef1698 faster and nicer benchmark plot 2017-03-27 18:31:08 +02:00
hans.dembinski@gmail.com
4d9c72a4e1 minor 2017-03-27 17:05:05 +02:00
hans.dembinski@gmail.com
a323ec377f minor fixes and clang-format 2017-03-27 16:49:51 +02:00
hans.dembinski@gmail.com
f38085daa9 new working adaptive_storage 2017-03-27 15:13:16 +02:00
Hans Dembinski
12003ce3f1 nicer design for adaptive_storage 2017-03-27 01:07:21 +02:00
Hans Dembinski
1e6b9f920b simpler and less header coupling 2017-03-26 16:16:05 +02:00
Hans Dembinski
16bff091bf clang-tidy 2017-03-25 19:15:11 +01:00
Hans Dembinski
e2426fbdef clang-formatted code 2017-03-25 17:20:37 +01:00
Hans Dembinski
f397fced38 fix 2017-03-23 22:43:24 +01:00
Hans Dembinski
df6a621be2 fix 2017-03-23 22:25:00 +01:00
Hans Dembinski
1a5f6716b0 fix 2017-03-23 21:55:47 +01:00
Hans Dembinski
fb366fa533 use string_ref again 2017-03-23 21:36:07 +01:00
Hans Dembinski
0108cc836d test string_view 2017-03-23 00:24:51 +01:00
Hans Dembinski
13e4a451ea fix 2017-03-23 00:17:56 +01:00
Hans Dembinski
436e19b881 bugfix 2017-03-22 23:00:47 +01:00
Hans Dembinski
bc3214863b conform to standard 2017-03-22 22:48:39 +01:00
Hans Dembinski
1d3f3d7a0c simpler, dont expose axes_type, provide for_each_axis instead 2017-03-22 22:39:55 +01:00
hans.dembinski@gmail.com
5a7b7b09b6 support repr for histogram in python 2017-03-22 18:38:18 +01:00
hans.dembinski@gmail.com
39cc44991a simplify 2017-03-21 11:54:51 +01:00
Hans Dembinski
6bfa38f1c5 obsolete code line 2017-03-18 19:27:47 +01:00
Hans Dembinski
550cb0b562 test iterators 2017-03-18 19:24:56 +01:00
Hans Dembinski
41a767947a added axis iterators 2017-03-18 18:16:21 +01:00
Hans Dembinski
1755cdc6c6 polar_axis to circular_axis 2017-03-17 08:44:48 +01:00
Hans Dembinski
77d281f08a bug-fix for category_axis default ctor, better tests of copy and move 2017-03-16 21:28:54 +01:00
Hans Dembinski
181a88e7da make realtype a template parameter 2017-03-16 09:15:34 +01:00
Hans Dembinski
71d40d432d fix for travis 2017-03-16 08:20:22 +01:00
Hans Dembinski
5505d34cad fix for travis 2017-03-15 23:36:02 +01:00
Hans Dembinski
e9fa8aa820 return to std::string 2017-03-15 23:23:25 +01:00
hans.dembinski@gmail.com
b2e3a783af reduced constructors for dynamic_histogram, fixed bug in iterator-based constructor and added test 2017-03-02 15:03:11 +01:00
hans.dembinski@gmail.com
f8142d88cc simplify 2017-02-24 23:10:36 +00: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@gmail.com
719e6036b7 factored out variance computation and some simplification 2017-02-11 12:37:55 +00:00
hans.dembinski@gmail.com
da9d1684b0 better doc 2017-02-10 19:30:37 +00:00
hans.dembinski@gmail.com
dc95b715ce better doc 2017-02-08 22:48:05 +00:00
hans.dembinski@gmail.com
5afe689e3e updating docs, still a lot to do 2017-02-08 21:19:21 +00:00
hans.dembinski@gmail.com
5d0483d68c fixing warnings 2017-02-05 12:14:32 +00:00
hans.dembinski@gmail.com
0d0756a73b more test coverage 2017-02-02 15:30:02 +00:00
hans.dembinski@gmail.com
9a93a7397a make type order more consistent 2017-02-02 10:54:19 +00:00
hans.dembinski@gmail.com
afd7f9db21 fixed bug when adding adaptive_storage to itself, more test coverage 2017-02-02 01:22:12 +00:00
hans.dembinski@gmail.com
547ef24e38 better test, and fix 2017-02-01 21:18:49 +00:00
hans.dembinski@gmail.com
27c495e769 no inline for large functions 2017-02-01 18:20:52 +00:00
hans.dembinski@gmail.com
0613093559 attempt to fix gcc-4.8 on travis 2017-02-01 18:17:51 +00:00
hans.dembinski@gmail.com
0d5b85bdbe added namespace comment 2017-02-01 16:31:45 +00:00
hans.dembinski@gmail.com
b6ed595ed2 attempt to fix gcc-4.8 on travis 2017-02-01 08:39:25 +00:00
hans.dembinski@gmail.com
183d3a0c34 try to fix gcc-4.8 on travis 2017-01-31 11:45:06 +01:00
hans.dembinski@gmail.com
9625502fa3 fixed comparison operators, more tests of copying 2017-01-31 07:10:59 +01:00
hans.dembinski@gmail.com
6c87c931e2 allocator support for adaptive_storage, fix for empty tiny_string, more test coverage 2017-01-30 17:28:17 +01:00
Hans Dembinski
1cea27fe72 more coverage 2017-01-30 00:47:53 +01:00
Hans Dembinski
67908f5a36 more coverage 2017-01-29 22:52:24 +01:00
Hans Dembinski
678bdca032 refactoring and renaming, dynamic_storage to adapative_storage, static_storage to container_storage 2017-01-29 21:37:56 +01:00
hans.dembinski@gmail.com
a4787bde89 buffer with allocator 2017-01-27 17:25:49 +01:00
Hans Dembinski
d6442414f5 safer, bug-fix for not calling destructors, preparing structure for templated buffer 2017-01-27 09:56:40 +01:00
Hans Dembinski
d09830e272 early allocator support and support for boost multiprecision cpp_int 2017-01-26 23:07:37 +01:00
Hans Dembinski
5f23c006a4 getting rid of buffer.hpp again, better operator+= for dynamic_storage, no move from static_storage 2017-01-24 00:43:03 +01:00
Hans Dembinski
65a32b3630 set type id and depth at the same time 2017-01-23 08:38:22 +01:00
Hans Dembinski
df228e2772 use mapping type <-> int instead of type <-> sizeof(type) 2017-01-23 00:01:43 +01:00
Hans Dembinski
4a6c760501 generalize 2017-01-22 20:28:50 +01:00
Hans Dembinski
3b12a3cf81 adapting to boost structure, adding old docs (to be improved), drop reliance on calloc 2017-01-20 08:47:08 +01:00
Hans Dembinski
323cbab568 allow other types than POD for T 2017-01-19 07:59:34 +01:00
Hans Dembinski
5e7851e31c more explicit 2017-01-19 07:59:01 +01:00
Hans Dembinski
3a2357704c clarify unused case 2017-01-10 22:52:42 +01:00
Hans Dembinski
8e85222aeb better test 2017-01-10 20:57:34 +01:00
Hans Dembinski
37b79b74c3 fixing case hole 2017-01-10 20:35:17 +01:00
Hans Dembinski
6f05c46647 simpler 2017-01-10 20:19:14 +01:00
Hans Dembinski
ce0fa095a3 fixing friendship 2017-01-10 17:50:22 +01:00
Hans Dembinski
93fd586eb5 restoring ctor 2017-01-10 17:29:14 +01:00
Hans Dembinski
ecc9a9dc4c lazy allocation for dynamic_storage 2017-01-10 00:34:31 +01:00
Hans Dembinski
39443642f7 fixes 2017-01-08 22:00:25 +01:00
Hans Dembinski
ceacd883d3 fixes 2017-01-08 21:23:59 +01:00
Hans Dembinski
0c32414a81 fixes 2017-01-08 21:21:30 +01:00
Hans Dembinski
bb5ed8c84e cleanup and adding iterator-based methods to static_histogram 2017-01-08 21:10:44 +01:00
Hans Dembinski
bad2379caa make axis objects smaller by using tiny_string 2017-01-08 17:55:28 +01:00
Hans Dembinski
042ec3e2cb more fun with metaprogramming, simplified escape function 2017-01-07 22:34:38 +01:00
Hans Dembinski
b901710375 code polishing, adapted docs, more utilities 2017-01-06 18:53:28 +01:00
Hans Dembinski
cc3935ce47 fully implemented static_histogram and tests 2017-01-06 12:26:58 +01:00
Hans Dembinski
5ca5dac6d3 make template arguments of histograms consistent 2017-01-05 10:05:21 +01:00
Hans Dembinski
f82e99d56a beginning work on static_histogram 2017-01-04 23:20:59 +01:00
Hans Dembinski
c638b6dee5 restoring tests and checks 2017-01-03 23:48:18 +01:00
Hans Dembinski
6338a57883 use typelists 2017-01-03 20:35:24 +01:00
Hans Dembinski
26aa012d76 preparing addition of static_histogram 2017-01-03 11:01:51 +01:00
Hans Dembinski
ddc59bcc32 make integer_axis behave more like regular_axis, more tests 2016-12-18 19:56:01 +01:00
Hans Dembinski
3c8d110177 fixing bug just introduced 2016-12-18 18:25:59 +01:00
Hans Dembinski
2a91a54c4c documentation fixes and cleanup 2016-12-18 16:57:51 +01:00
hans.dembinski@gmail.com
135fc4bcaa bug-fix in integer_axis, killing trailing white space, adding test for bug 2016-12-15 16:15:00 +01:00
hans.dembinski@gmail.com
512ef5b302 better docs 2016-11-08 15:48:38 +01:00
Hans Dembinski
534e9fe0fc fixing bug and adding tests 2016-09-15 18:26:58 +02:00
Hans Dembinski
03e0e0ab96 fixing another bug, adding a test for it 2016-09-15 17:19:09 +02:00
Hans Dembinski
75889f405d fixing a bug and adding a test for it 2016-09-14 17:34:07 +02:00
Hans Dembinski
cac0e29ad4 cosmetical changes 2016-09-14 11:36:26 +02:00
Hans Dembinski
2eee448189 avoid linker errors 2016-09-14 10:45:51 +02:00
Hans Dembinski
d2aacb4c9f cosmetic changes 2016-09-14 10:36:13 +02:00
Hans Dembinski
ab3f496d0f renaming histogram_t to histogram 2016-09-13 14:39:49 +02:00
Hans Dembinski
789ce513b0 make Apple clang happy 2016-09-13 12:59:36 +02:00
Hans Dembinski
84b341de95 corrections suggested by Klemens 2016-08-20 19:55:55 +02:00
Hans Dembinski
416236a6e6 bringing python and serialization back 2016-07-28 20:41:15 -04:00
Hans Dembinski
86b199b67c fixing conversion 2016-07-23 23:12:51 -04:00
Hans Dembinski
5cb9dd678b no anaconda 2016-07-23 21:38:12 -04:00
Hans Dembinski
c18e0c2848 better test 2016-07-23 18:17:21 -04:00
Hans Dembinski
a625ba579b more testing, simplifying dynamic_storage 2016-07-22 09:08:17 -04:00
Hans Dembinski
acec906a82 more testing 2016-07-22 01:02:09 -04:00
Hans Dembinski
de00c26f8e moved more stuff to histogram_common, fixed conversions, more tests 2016-07-21 15:55:46 -04:00
Hans Dembinski
d515286ff5 fixing clang 2016-07-21 02:14:47 -04:00
Hans Dembinski
87a0b91d6e started specialization for dynamic dimension 2016-07-21 02:04:38 -04:00
Hans Dembinski
c4af2fae2a more testing, fixes to moves 2016-07-21 00:08:34 -04:00
Hans Dembinski
6fb0779e52 simpler 2016-07-20 23:33:19 -04:00
Hans Dembinski
c1b3e8ae9a more testing 2016-07-20 23:14:06 -04:00
Hans Dembinski
f5301ece3f removing zero suppression 2016-07-20 22:04:35 -04:00
Hans Dembinski
73535723d2 getting rid of nstore, fixing conversions 2016-07-20 22:02:23 -04:00
Hans Dembinski
ab48c2eafb fixing syntax 2016-07-18 22:33:16 -04:00
Hans Dembinski
05569b1c37 more comparisons 2016-07-18 22:28:48 -04:00
Hans Dembinski
f95ec4b627 enabling more conversions between histogram types 2016-07-18 22:18:06 -04:00
Hans Dembinski
71a9d36e88 wfill is back 2016-07-18 14:02:58 -04:00
Hans Dembinski
456b0d2122 bringing nstore back as dynamic_storage 2016-07-18 03:05:44 -04:00
Hans Dembinski
9ae6a9ced9 bug-fix in visitors 2016-07-17 12:34:03 -04:00
Hans Dembinski
0cc7f02c82 bug fix in speed test, and even faster binning 2016-07-17 12:03:57 -04:00
Hans Dembinski
40f61fe49a test fix and code cleanup 2016-07-17 10:56:33 -04:00
Hans Dembinski
488dfc291b make core library header only 2016-07-17 10:27:33 -04:00
Hans Dembinski
123c43035e super faster 2016-07-16 22:29:56 -04:00
Hans Dembinski
f437d4ab4d missing header 2016-07-16 22:07:52 -04:00
Hans Dembinski
2e5294e1fa super fast regular_axis and code cleanup 2016-07-16 22:07:24 -04:00
Hans Dembinski
6c2ea00e3e operators 2016-07-16 15:57:04 -04:00
Hans Dembinski
6f24a50fdd tabula rasa 2016-07-16 12:45:16 -04:00
Hans Dembinski
6cf51f2088 switching back to container::vector, fixed bug in use of AXIS_LIMIT 2016-06-23 10:47:41 -04:00
Hans Dembinski
4e1d0791a0 neatification 2016-06-22 23:40:40 -04:00
Hans Dembinski
832757017a nicer 2016-06-22 23:34:31 -04:00
Hans Dembinski
d77d7212db cosmetic 2016-06-22 23:04:32 -04:00
Hans Dembinski
7406aff573 mpl/not.hpp is not needed 2016-06-22 23:01:09 -04:00
Hans Dembinski
61a033a662 whitespace 2016-06-22 22:36:14 -04:00
Hans Dembinski
2633bc65ea simpler 2016-06-22 22:32:43 -04:00
Hans Dembinski
6e32c49943 added comment 2016-06-22 22:32:29 -04:00
Hans Dembinski
91e71969b2 save an if and use a type chain to simplify templates 2016-06-22 22:31:43 -04:00
Hans Dembinski
bf22da6fed compile fix 2016-06-22 20:28:45 -04:00
klemens-morgenstern
626b00dee2 implement iterator-variant with disable_if 2016-06-20 23:19:59 +02:00
klemens-morgenstern
b798f18d10 used quickbook now 2016-06-18 22:27:34 +02:00
klemens-morgenstern
98c6fbc575 Merge branch 'cleanup' into doc 2016-06-18 21:04:21 +02:00
klemens-morgenstern
f307aee2f2 added iterator_range version for variance & value 2016-06-18 21:00:04 +02:00
klemens-morgenstern
a81286722c Merge branch 'cleanup' into doc 2016-06-18 20:48:44 +02:00
klemens-morgenstern
c3682b6b50 fixed numpy plugin 2016-06-18 20:36:09 +02:00
klemens-morgenstern
81e79a3134 fixed python plugin 2016-06-18 20:29:35 +02:00
klemens-morgenstern
fc86a1c465 corrected exception check 2016-06-18 20:18:25 +02:00
klemens-morgenstern
22800e8ac1 moving quickbook 2016-06-18 20:10:20 +02:00
klemens-morgenstern
998202f0be added missing headers 2016-06-18 20:09:08 +02:00
klemens-morgenstern
72734c0268 small fix 2016-06-18 19:25:03 +02:00
klemens-morgenstern
a9b1f9f083 more cleanup 2016-06-18 19:20:22 +02:00
klemens-morgenstern
cc782b2d3f added copyright comment & moved serialization 2016-06-18 18:59:38 +02:00
klemens-morgenstern
bd0e4500bc major cleanup of nstore, added range-fill to histogram 2016-06-18 13:46:56 +02:00
klemens-morgenstern
8d6b38bf9a removed c-style casts 2016-06-17 21:22:17 +02:00
Hans Dembinski
b85f1b6a6d bug-fix when accessing bounded axis type 2016-05-12 09:24:24 -04:00
Hans Dembinski
7eb44a69cd use enum instead of unsigned to signify the limited options 2016-05-11 22:45:35 -04:00
Hans Dembinski
1bb3e5d1ca removing depth 0 2016-05-10 21:09:25 -04:00
Hans Dembinski
1377956c85 enable overflow into wtype + more tests 2016-05-09 09:34:13 -04:00
Hans Dembinski
33993f4c67 no double streamer implementation, only use the python one 2016-05-08 20:17:26 -04:00
Hans Dembinski
ddaa9c490f increase test coverage 2016-05-07 22:53:59 -04:00
Hans Dembinski
1cd43f8546 increase coverage 2016-05-07 20:09:24 -04:00
Hans Dembinski
5711ba6d58 tightening tests 2016-05-07 19:15:51 -04:00
Hans Dembinski
95eb9c32b5 workaround for gcc bug, active gcc build on travis 2016-05-07 08:59:44 -04:00
Hans Dembinski
37d6e26d70 squashing some warnings on gcc 2016-05-06 19:33:22 -04:00
Hans Dembinski
ad7f981635 fully enable move semantics 2016-05-06 12:35:15 -04:00
Hans Dembinski
4720450aa2 get rid of warning 2016-05-06 10:35:31 -04:00
Hans Dembinski
9a3d125dc8 removed internal buffers, get same speed with better linearization visitor, added move semantics to basic_histogram 2016-05-06 10:34:04 -04:00
Hans Dembinski
371739b3db better return type for bins(), added tutorial examples 2016-04-25 22:43:36 -04:00
Hans Dembinski
f2b51bcb11 simplification 2016-04-14 23:37:40 -04:00
Hans Dembinski
0226af858e bug-fix 2016-04-12 23:24:04 -04:00
Hans Dembinski
f6bd538689 ... and delay allocation of memory until the first call of fill or wfill 2016-04-12 23:14:17 -04:00
Hans Dembinski
be537449a7 renaming of histogram_base to basic_histogram 2016-04-12 23:13:23 -04:00
Hans Dembinski
4d8f88ebd2 adding install instructions 2016-04-10 13:13:42 -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
ae026af085 prettier 2016-04-09 17:35:12 -04:00
Hans Dembinski
d2306810ee faster with static_vector 2016-04-09 17:27:03 -04:00
Hans Dembinski
fbe82e3c58 more refactoring 2016-04-09 16:43:08 -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
2d41cbb540 removing concept checks, not working... 2016-04-07 21:20:39 -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