709 Commits

Author SHA1 Message Date
Hans Dembinski
07b91f013f more pointer an array interface 2019-01-17 08:08:03 +01:00
Hans Dembinski
bc6ee8f89e switch second indexed argument to enum class and use use_default everywhere 2019-01-16 22:00:59 +01:00
Hans Dembinski
56c3d5bc40 fix ci 2019-01-16 20:48:11 +01:00
Hans Dembinski
acb5b7ba1e fix CI 2019-01-16 20:36:31 +01:00
Hans Dembinski
2a7f9cdf61 support for growing variable axis 2019-01-16 09:16:56 +01:00
Hans Dembinski
6c74da60ed regular axis growable; removed axis::base; replaced int with index_type 2019-01-16 00:52:41 +01:00
Hans Dembinski
cadc27135f make category growable and add missing deduction guides 2019-01-15 00:13:04 +01:00
Hans Dembinski
4108c54869 replacing custom SFINAE with mp11::mp_valid 2019-01-14 22:00:53 +01:00
Hans Dembinski
3ed77e7287 nicer way of injecting optional interface 2019-01-14 22:00:33 +01:00
Hans Dembinski
f1ac913246 better solution for adding optional update method when axis has growth 2019-01-13 23:18:39 +01:00
Hans Dembinski
8e9dd85837 wip: growing axis for axis::integer 2019-01-13 22:14:53 +01:00
Hans Dembinski
0479c512e3 rename option_type to option, new growth option, new utiltity functions test and join 2019-01-13 14:25:34 +01:00
Hans Dembinski
ac47484483 simper and slightly faster adaptive_storage 2019-01-12 23:37:31 +01:00
Hans Dembinski
4ad531fd77 shorter 2019-01-12 22:49:43 +01:00
Hans Dembinski
6158a9a8bc fix 2019-01-12 22:04:17 +01:00
Hans Dembinski
5ba3c694b0 fix 2019-01-12 21:40:11 +01:00
Hans Dembinski
1a04ecc4a0 add comment 2019-01-12 21:00:58 +01:00
Hans Dembinski
3179ac3420 fix 2019-01-12 20:58:55 +01:00
Hans Dembinski
cdc1fc442f fix 2019-01-12 20:51:30 +01:00
Hans Dembinski
3cec3edb9c working test: simpler variant visit, simpler linearize functions, extended traits; get_if for std compliance 2019-01-12 20:42:45 +01:00
Hans Dembinski
d926077705 nicer naming of internal functions and explicitly initialize shifts, 2019-01-11 23:56:18 +01:00
Hans Dembinski
2e4ad7a5df enable growing axis support at compile-time only when needed 2019-01-11 23:33:30 +01:00
Hans Dembinski
bd381dbe76 gcc fix 2019-01-11 00:47:18 +01:00
Hans Dembinski
54eb52d80d wip: growing axis for static 1d working 2019-01-11 00:38:34 +01:00
Hans Dembinski
7be6dd27f6 wip, support for growing axes 2019-01-11 00:11:34 +01:00
Hans Dembinski
b0b1f9065e exact comparison for references 2019-01-11 00:06:26 +01:00
Hans Dembinski
347ac33d2c make accessor writeable 2019-01-11 00:06:26 +01:00
Hans Dembinski
608a89fef3 fix travis 2019-01-11 00:06:26 +01:00
Hans Dembinski
e80ae946e6 full iterator support 2019-01-11 00:06:26 +01:00
Hans Dembinski
dd0943a4b0 not necessary 2019-01-11 00:06:26 +01:00
Hans Dembinski
188bf8ecbe Introduce grid type and derive histogram from grid 2019-01-11 00:06:26 +01:00
Hans Dembinski
37ac219921 added profile example and improved interface of mean and weighted_mean 2019-01-11 00:06:26 +01:00
Hans Dembinski
ca815dd231 remove obsolete comment 2019-01-11 00:06:26 +01:00
Hans Dembinski
2d5fb32b88 improved support and testing of axes over boost::units 2019-01-11 00:06:26 +01:00
Hans Dembinski
68ce22a323 deduction guides for histogram class 2019-01-11 00:06:26 +01:00
Hans Dembinski
d96f749a52 deduction guides for histogram 2019-01-11 00:06:26 +01:00
Hans Dembinski
12a79e5197 regular axis with unit can now also use transforms 2019-01-11 00:06:26 +01:00
Hans Dembinski
cbdd77f629 getting rid of value_bin_view, since we dont need to use bins as indices anymore 2019-01-11 00:06:26 +01:00
Hans Dembinski
a510b7dc93 no need for serialize method in histogram anymore 2019-01-11 00:06:26 +01:00
Hans Dembinski
c4c2476012 use indexed in reduce and project, making index_mapper obsolete 2019-01-11 00:06:26 +01:00
Hans Dembinski
168e41dc83 change the iteration order from 0...N-1 overflow underflow to underflow 0 ... N -1 overflow, move axis allocators at the end of template argument 2019-01-11 00:06:26 +01:00
Hans Dembinski
74d1b95d72 fixing deduction guide testing; better error when google benchmark is not found 2019-01-11 00:06:26 +01:00
Hans Dembinski
81abaa23eb fix for travis 2019-01-11 00:06:26 +01:00
Henry Fredrick Schreiner
0d481a8938 Fix for duplicate symbol linking error 2019-01-11 00:06:26 +01:00
Hans Dembinski
fb7ca0a0ef added deduction guides for axis types; removed circular axis implementation, implemented circular option for regular, integer, and variable axis; simplified transform spec; added axis::allocator alias 2019-01-11 00:06:26 +01:00
Hans Dembinski
5752fd8f87 axis benchmark and simpler circular index calculation 2019-01-11 00:06:26 +01:00
Hans Dembinski
d6c7e81515 faster indexing when iterating over all bins 2019-01-11 00:06:26 +01:00
Hans Dembinski
f21d396179 better value access and fixes for CI builds 2019-01-11 00:06:26 +01:00
Hans Dembinski
1e0dcc72fb switch to int everywhere 2019-01-11 00:06:26 +01:00
Hans Dembinski
84641d0f41 added option for indexed to skip extra bins (new default); avoid mp11 in interface; use int as return type for axis::size() 2019-01-11 00:06:26 +01:00