Commit Graph

630 Commits

Author SHA1 Message Date
Hans Dembinski
7606d375fe clangformat 2017-03-29 22:26:14 +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
8fd50d36da make views read-only and dont modified viewed 2017-03-28 09:41:16 +02:00
Hans Dembinski
f589156407 fix 2017-03-28 00:27:55 +02:00
Hans Dembinski
8e79d30145 fix cov 2017-03-28 00:13:32 +02:00
Hans Dembinski
c47f886d3e fix cov 2017-03-28 00:11:05 +02:00
Hans Dembinski
1665d97841 fix test hole 2017-03-27 23:46:19 +02:00
Hans Dembinski
31aad75893 drop axis method in python 2017-03-27 22:45:45 +02:00
Hans Dembinski
908f8fd9f6 more test cov 2017-03-27 21:58:01 +02:00
hans.dembinski@gmail.com
a323ec377f minor fixes and clang-format 2017-03-27 16:49:51 +02:00
hans.dembinski@gmail.com
1deab9517e update benchmark 2017-03-27 16:19:46 +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
5049feae99 test more 2017-03-24 23:38:13 +01:00
Hans Dembinski
4e23deca23 better 2017-03-24 23:03:00 +01:00
Hans Dembinski
adfd33a1aa fix for cpp_int numpy conversion 2017-03-24 22:54:25 +01:00
Hans Dembinski
f81cbe9fec fix bug for conversion of uninitialized histogram 2017-03-24 21:33:01 +01:00
Hans Dembinski
bfd4f440f4 more pythonic interface 2017-03-24 09:26:37 +01:00
Hans Dembinski
91800f3def added gsl speed check 2017-03-24 09:26:05 +01:00
Hans Dembinski
724356341a test 2017-03-22 23:05:20 +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
9936d3104d nicer coveralls 2017-03-22 14:43:45 +01:00
hans.dembinski@gmail.com
baa10c4f15 test for travis 2017-03-22 13:37:03 +01:00
hans.dembinski@gmail.com
39cc44991a simplify 2017-03-21 11:54:51 +01:00
Hans Dembinski
550cb0b562 test iterators 2017-03-18 19:24:56 +01:00
Hans Dembinski
0448dd0012 more tests 2017-03-18 19:09:26 +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
babaa8254f fix behavior, it is ok too have many axes, it is not okay to fill them from python with *args 2017-03-16 21:46:18 +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@gmail.com
c3009e906d test axis overflow 2017-03-16 12:17:39 +01:00
Hans Dembinski
9f66933bc0 fix travis 2017-03-16 09:17:04 +01:00
Hans Dembinski
181a88e7da make realtype a template parameter 2017-03-16 09:15:34 +01:00
Hans Dembinski
e9fa8aa820 return to std::string 2017-03-15 23:23:25 +01:00
hans.dembinski@gmail.com
a373045d15 more guide 2017-03-02 16:35:10 +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
dae1908b51 improving benchmark and benchmark doc 2017-02-14 00:12:12 +00:00
hans.dembinski@gmail.com
a7f0d790b8 simpler speed checks 2017-02-13 01:16:10 +00:00
hans.dembinski@gmail.com
6bbea4db33 simplified speed check 2017-02-12 23:22:51 +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
849c11e6ae switching to cstr 2017-02-07 19:59:35 +00:00
hans.dembinski@gmail.com
3ba3f2d925 prettier 2017-02-05 22:30:31 +00:00
hans.dembinski@gmail.com
f95822a3b6 removing hotfix 2017-02-05 22:01:21 +00:00
hans.dembinski@gmail.com
ddd97e9114 switch to lightweight_test 2017-02-05 18:34:39 +00:00
hans.dembinski@gmail.com
6633cab56b switch to lightweight test 2017-02-05 16:31:28 +00:00
hans.dembinski@gmail.com
b0934916a9 fixing jams and better type safety in tests 2017-02-05 12:15:49 +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
2798afffcb more tests 2017-02-01 23:17:58 +00:00
hans.dembinski@gmail.com
13c577ad12 more tests 2017-02-01 23:13:49 +00:00
hans.dembinski@gmail.com
6c96188b17 more tests 2017-02-01 23:11:27 +00:00
hans.dembinski@gmail.com
aaae031733 more tests 2017-02-01 22:47:06 +00:00
hans.dembinski@gmail.com
bf9cfb81bd more tests 2017-02-01 22:38:21 +00:00
hans.dembinski@gmail.com
c8be9fa394 more tests 2017-02-01 21:58:06 +00:00
hans.dembinski@gmail.com
8318ab7868 better test 2017-02-01 21:52:14 +00:00
hans.dembinski@gmail.com
547ef24e38 better test, and fix 2017-02-01 21:18:49 +00:00
hans.dembinski@gmail.com
d8fa847736 more coverage 2017-02-01 18:42:00 +00:00
hans.dembinski@gmail.com
f8ad3052b8 more coverage 2017-02-01 18:41:13 +00:00
hans.dembinski@gmail.com
86c9a09206 more coverage 2017-02-01 18:33:08 +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
ea4b5c1b56 fixing test 2017-01-29 21:58:02 +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
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
df228e2772 use mapping type <-> int instead of type <-> sizeof(type) 2017-01-23 00:01:43 +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
7250c6295b better test 2017-01-10 21:14:08 +01:00
Hans Dembinski
a4d34c1851 better test 2017-01-10 21:11:27 +01:00
Hans Dembinski
8e85222aeb better test 2017-01-10 20:57:34 +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
e9870bf75e fixes 2017-01-08 21:24:48 +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
e7b9836f20 fix doc 2017-01-05 18:45:48 +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
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
1e527ae34e more tests for multi-dimensional histograms, filling test holes 2016-11-08 15:51:03 +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
ab3f496d0f renaming histogram_t to histogram 2016-09-13 14:39:49 +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
1f43a13b46 more tests 2016-07-23 22:23:26 -04:00
Hans Dembinski
fa95fa535c more tests 2016-07-23 22:20:07 -04:00
Hans Dembinski
12ffb72cf5 more tests 2016-07-23 22:18:04 -04:00
Hans Dembinski
6fab77f979 more tests 2016-07-23 22:11:02 -04:00
Hans Dembinski
7975a6a8d7 more tests 2016-07-23 22:01:41 -04:00
Hans Dembinski
c19e346c8b fixing tests 2016-07-23 21:53:57 -04:00
Hans Dembinski
897f1cc011 fixing tests 2016-07-23 21:47:45 -04:00
Hans Dembinski
7fa15cdedb better test 2016-07-23 18:21:03 -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
022d466be4 more testing 2016-07-22 01:14:09 -04:00
Hans Dembinski
cb90c534c6 more testing 2016-07-22 01:09:56 -04:00
Hans Dembinski
537f14a72e more testing 2016-07-22 01:05:34 -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
f7f4cc09cd missing test file 2016-07-20 23:16:18 -04:00
Hans Dembinski
2627a1e339 refined tests 2016-07-20 22:20:06 -04:00
Hans Dembinski
c00558dd35 refined tests 2016-07-20 22:19:07 -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
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
9550767047 getting rid of self-move-assign 2016-07-17 12:41:54 -04:00
Hans Dembinski
0642d53e83 travis has too much memory 2016-07-17 12:41:11 -04:00
Hans Dembinski
9ae6a9ced9 bug-fix in visitors 2016-07-17 12:34:03 -04:00
Hans Dembinski
67b2220b52 getting rid of boost::assign 2016-07-17 12:10:42 -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
094e67c2d9 fixing root speed test 2016-07-16 23:04:41 -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
337a141848 correcting badges 2016-07-16 14:04:42 -04:00
Hans Dembinski
6f24a50fdd tabula rasa 2016-07-16 12:45:16 -04:00
Hans Dembinski
a4e48213e5 seems like travis has too much memory for bad_alloc test 2016-06-23 10:59:47 -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
32e3bbf66e adapt to new interface 2016-06-22 22:30:27 -04:00
klemens-morgenstern
e149cbaa93 added missing test 2016-06-18 20:09:43 +02:00
klemens-morgenstern
cc782b2d3f added copyright comment & moved serialization 2016-06-18 18:59:38 +02:00
klemens-morgenstern
b5fb18d42f updated test 2016-06-15 18:12:28 +02:00
klemens-morgenstern
3be7cb54d1 added Jamfile.v2 2016-06-15 18:11:06 +02:00
Hans Dembinski
2d02aa79a1 adding python 3 support 2016-05-15 22:27:56 -04:00
Hans Dembinski
80338e5f41 more test coverage 2016-05-11 23:01:43 -04:00
Hans Dembinski
087623e551 more test coverage 2016-05-11 22:57:29 -04:00
Hans Dembinski
8430e8a6fd more coverage 2016-05-10 21:19:50 -04:00
Hans Dembinski
c3e07c84f2 more coverage 2016-05-10 21:10:10 -04:00
Hans Dembinski
1bb3e5d1ca removing depth 0 2016-05-10 21:09:25 -04:00
Hans Dembinski
bdb6665a87 removing code that breaks clang 2016-05-10 20:59:32 -04:00
Hans Dembinski
72734254e7 deactivating test for now 2016-05-10 12:36:11 -04:00
Hans Dembinski
3391ab6c5d more testing 2016-05-09 21:52:23 -04:00
Hans Dembinski
2eae059886 more testing 2016-05-09 21:43:35 -04:00
Hans Dembinski
2cfca323f5 missing file 2016-05-09 09:37:26 -04:00
Hans Dembinski
14d4ac9b3a bug-fix in python interface, fill with weight used weight=1 2016-05-08 22:20:03 -04:00
Hans Dembinski
3b3a583e10 pickle bug fix 2016-05-08 20:40:43 -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
def0a28413 increase test coverage 2016-05-07 22:32:55 -04:00
Hans Dembinski
916d8deb7f increase coverage 2016-05-07 20:33:36 -04:00
Hans Dembinski
1cd43f8546 increase coverage 2016-05-07 20:09:24 -04:00
Hans Dembinski
a85f025803 more tests 2016-05-07 19:33:38 -04:00
Hans Dembinski
5711ba6d58 tightening tests 2016-05-07 19:15:51 -04:00
Hans Dembinski
2ecb5ee1de fixing pysuite test 2016-05-06 21:07:34 -04:00
Hans Dembinski
abc5b38eed better python test management 2016-05-06 20:56:46 -04:00
Hans Dembinski
202de7eb7c added speed test against numpy, made tests more consistent and comparable 2016-05-06 15:04:56 -04:00
Hans Dembinski
114af4cd2c check both uniform and normal distribution 2016-05-05 23:12:17 -04:00
Hans Dembinski
86f3c1a004 more testing 2016-05-05 23:11:36 -04:00
Hans Dembinski
aaf672d9a3 better test 2016-04-13 21:13:08 -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
103fa6cf0a new feature, filling with weights 2016-04-09 16:31:16 -04:00
Hans Dembinski
19a740fa68 init from private repository 2016-04-06 09:23:37 -04:00