Hans Dembinski
9669df7432
reduced usage of ostringstream in exceptions
2019-10-28 20:08:37 +01:00
Hans Dembinski
30899cb45d
Merged upgraded display.hpp code into histogram/ostream.hpp
...
supports all axis bin types and gracefully handles histograms with accumulators
2019-10-17 00:58:37 +02:00
Hans Dembinski
5f3f9d8fd7
Benchmark improvements and scripts to research history
...
* allow benchmarks to run in isolation, new scripts to run historic benchmarks
* make sure variant is never trivial in tests and benchmarks
2019-06-02 19:46:57 +02:00
Hans Dembinski
96926f367f
splitting meta.hpp into parts
2019-05-31 16:46:49 +02:00
Hans Dembinski
7a55bf0e29
move throw_exception implementation to test and benchmark folders
2019-05-28 23:15:17 +02:00
Hans Dembinski
18567de9f3
simpler variant
...
* simpler, now correct variant
* replaced reference_wrapper with pointer
2019-05-15 14:55:27 +02:00
Hans Dembinski
8602102014
support -fno-exceptions and -fno-rrti and test this
2019-05-12 22:08:10 +02:00
Hans Dembinski
170199bb9f
replacing boost::variant with detail::variant
...
- removes large number of outdated indirect boost dependencies
- less limited in number of stored types
2019-04-30 16:27:14 +02:00
Hans Dembinski
9d25923b82
fix reduce when axis has no reduce support
...
- added is_reducible trait
- throw when axis is not reducible but reduction requested
2019-04-26 23:31:56 +02:00
Hans Dembinski
329fcf6855
Fix missing coverage and allocator-fail logic
...
* fixed allocator-failing code with better mock allocator; 100 % code coverage on all platforms
* fixed and refined use of safe comparison of number types
2019-04-23 23:25:05 +02:00
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