78 Commits

Author SHA1 Message Date
Jay Gohil
10c19df918
Add fraction accumulator (for calculating efficiencies, etc) (#361)
* Added fraction accumulator
* Added binomial proportion interval computers: Wald, Wilson Score, Clopper Pearson, Jeffreys
* Width of intervals for all classes can be set via deviation or confidence_level
* Support valarray in histogram::fill
* Add fraction and count to user guide

Co-authored-by: Hans Dembinski <hans.dembinski@gmail.com>
Co-authored-by: Hans Dembinski <HDembinski@users.noreply.github.com>
2022-09-28 11:18:46 +02:00
Hans Dembinski
6cde30a366
deprecate accumulators::thread_safe, replace with optionally thread-safe accumulators::count (#326) 2021-05-17 22:20:47 +02:00
Hans Dembinski
5e60e86d3c
rename binary to boolean (#126) 2020-06-24 23:50:25 +02:00
Hans Dembinski
82a22250aa
new docu section about histogram usage in APIs 2020-03-10 13:34:44 +01:00
Hans Dembinski
e751503536
Better documentation on usage of Boost.Accumulators and simplified accumulator_traits 2020-03-09 20:48:50 +01:00
Hans Dembinski
82d9314302 reducible category axis and general reduce upgrade
* reducible category axis
* new axis::trait is_ordered and ordered()
* reduce accepts positional commands now
* renamed (old symbols still there, but deprecated)
  - static_is_inclusive -> is_inclusive
  - static_options -> get_options
  - reduce_option -> reduce_command
* reduce commands are now structs derived from reduce_command base instead of functions
* simplified TMP code in axis::traits 
* updated and improved docs for reduce
2020-01-06 01:37:52 +01:00
Hans Dembinski
9aef54cf70
Extended custom accumulator section in user guide and added count accumulator 2020-01-03 19:40:41 +01:00
Hans Dembinski
d242c79b18 various improvements to the user guide 2019-11-06 00:17:26 +01:00
Hans Dembinski
9a2f152253
update of user guide and examples 2019-11-05 00:26:55 +01:00
Hans Dembinski
94857351cc
fix shrink when value is not exactly equal to bin edge 2019-10-19 19:04:13 +01:00
Hans Dembinski
14f36ea932
new and updated examples for user guide (#210)
* new accmulator examples for user guide
* new weighted profile example
* minor corrections to other examples
2019-09-10 23:19:27 +02:00
Hans Dembinski
0a6c485d6b new benchmark results 2019-08-24 11:25:37 +02:00
Hans Dembinski
f869fb16d7 separate out rationale into extra section, making overview shorter 2019-08-23 08:59:50 +02:00
Hans Dembinski
df647cf959
update copyright (#55)
* add missing copyright notices
* workaround for xml_iarchive bug to handle XML with comments
* fixing min/max according to boost guidelines
2019-08-19 16:53:27 +02:00
Hans Dembinski
8260deaa1d
Forward iterators for indexed range
* add tests of stdlib algorithms that use forward iterators
* make accessor non-copyable, implicitly convertible to value, assign pass-through, add comparison operators
* updated docs
2019-06-06 23:04:27 +02:00
Hans Dembinski
59c9d82b3c update to the user guide and show toc in sections 2019-06-04 15:37:38 +02:00
Hans Dembinski
9b8de0536b update section about parallel filling 2019-05-15 21:54:27 +02:00
Hans Dembinski
4d8118cf78 fix typo 2019-03-15 09:01:59 +01: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
5dd50985ae
Concepts (#166)
* concept docs rewritten, adapting to tabular style as in Beast and cppreference.com
* update the readme with correct links and text
* removed necessity to add `storage_tag` member type to storage classes
2019-03-05 01:52:01 +01:00
Hans Dembinski
94c1563ae7 improved wording, make using namespace consistent, fixed missing section about 2d axes 2019-02-24 23:20:25 +01:00
Hans Dembinski
ff97700470 * finishing the user guide
* get master badges back
2019-02-24 22:14:30 +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
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
a2dcbdccd9 doc improvements 2019-02-07 22:57:08 +01:00
Hans Dembinski
f20abe19fb rename adaptive_storage to unlimited_storage, closes #150 2019-02-06 23:34:58 +01:00
Hans Dembinski
2c3450b429 nicer entry page, lots of improvements to the overview 2019-01-31 23:24:42 +01:00
Hans Dembinski
1edc954e75 update rationale and some first doc fixes [ci skip] 2019-01-30 23:11:19 +01:00
Hans Dembinski
92e1893272 improving docs, closes 2019-01-11 00:06:26 +01:00
Hans Dembinski
7822c87f4f fixed axis_test 2019-01-11 00:06:25 +01:00
Hans Dembinski
feaf5bd2c8 fixes for stevens review part 1 2019-01-11 00:06:25 +01:00
Hans Dembinski
a1569b59af added more arguments to the rationale 2018-09-16 20:31:24 +02:00
Hans Dembinski
50b046f17f remove python 2018-09-15 22:55:03 +02:00
Hans Dembinski
06596efe4e doc fixes 2018-08-24 11:22:31 +02:00
Hans Dembinski
f7793a20ee update docs 2018-08-24 10:52:09 +02:00
Hans Dembinski
e3ddfd8e44 minor fix 2018-08-24 00:39:07 +02:00
Hans Dembinski
8dd0458250 axes behave consistent now: oflow bin added for category axis, NaN always ends up in oflow bin for all axes 2018-07-22 12:13:14 +02:00
Hans Dembinski
3d7c13e2c6 fix docs 2018-07-11 12:02: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
Hans Dembinski
e6c9d717c0 replacing bin method with operator() 2018-03-28 16:51:53 +02:00
Hans Dembinski
37ccf6d80c finally elegant iteration over axis bins 2018-03-11 19:59:03 +01:00
Hans Dembinski
8e904a3645 added reverse iterators, simplified code 2018-03-10 20:20:32 +01:00
Hans Dembinski
06abbf8884 fixes for the documentation, removing mentions of count argument 2018-03-08 22:46:55 +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
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
d6b06a0022 back to histogram master template 2017-12-10 20:05:35 +01:00
Hans Dembinski
9bdd09b85f doc fixes 2017-11-13 11:37:53 +01:00
Hans Dembinski
c5094149de refactoring 2017-11-13 10:54:23 +01:00
Hans Dembinski
210414434a finishing user guide 2017-11-12 16:26:19 +01:00