Hans Dembinski
478a06ea30
Option tag ( #167 )
...
replace option system with simpler and future-safe system
2019-03-06 15:25:11 +01:00
Hans Dembinski
9abbe46e3d
CI & doc update, removed multiprecision::cpp_int, simpler axis implementation, use_default to set default options
...
* Travis uses b2 and codecov now
* replacing boost::multiprecision with custom implementation to avoid the dependency
* improved axis implementation: `update` is now a normal method
* introduced use_default tag type to set defaults
* whitespace fixes and doc update
2019-02-17 13:37:50 +01:00
Hans Dembinski
c3966a52c2
doc and coverage updates
2019-02-11 20:28:41 +01:00
Hans Dembinski
4a2e3db0e0
upload edits on docs and minor code fixes ( #152 )
...
* renaming naked to remove_cvref_t
* more static_asserts to check implicit conditions
* use new BOOST_TEST_TRAIT_SAME
* reorganize and add operator tests, fixes for array and map adaptors
* improved map adaptor
* storage does not have to support scaling operator anymore
* doc improvements
2019-02-10 22:45:00 +01:00
Hans Dembinski
72d9ce635f
axis:replaced operator() with index and operator[] with bin
2019-01-27 20:56:15 +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
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
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
7be6dd27f6
wip, support for growing axes
2019-01-11 00:11:34 +01:00
Hans Dembinski
e80ae946e6
full iterator support
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
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
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
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
ab8201eca1
fixes for complaints by cppcheck
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
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
4533bd9fd4
added reduce algorithm to shrink and rebin, fixed bug in polymorphic_bin in the process, to-do: add more axis support for shrink and rebin
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
faede986fd
fix
2019-01-11 00:06:25 +01:00
Hans Dembinski
8546683a4f
fix
2019-01-11 00:06:25 +01:00
Hans Dembinski
3c25dbdecf
fix
2019-01-11 00:06:25 +01:00
Hans Dembinski
23790f4008
support for vector of non-variant axes
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
92d062ceb9
more testing
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
2164ea85b3
refactoring
2019-01-11 00:06:25 +01:00