Hans Dembinski
1c9077a6e1
Enable pre-commit ( #366 )
2022-09-28 12:11:50 +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
d60f96ded6
ostream improvements: support more accumulators, unicode plots ( #317 )
2021-04-23 20:15:12 +02:00
Hans Dembinski
5253358988
add binary axis
2020-06-06 23:45:12 +02:00
Hans Dembinski
4a368329a5
Add wrapped histogram example to getting started section
2020-03-11 15:50:55 +01:00
Hans Dembinski
82a22250aa
new docu section about histogram usage in APIs
2020-03-10 13:34:44 +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
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
6c5bf59ba1
getting started 04 update ( #213 )
2019-09-12 20:53:43 +02: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
016532f011
Histogram fill method ( #54 )
...
huge refactor, various speed improvements, potential for further improvements and parallelization
2019-08-19 23:55:43 +02:00
Hans Dembinski
d075d1b86f
new getting started example
2019-06-08 19:02:16 +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
facde2732b
fix comments in example
2019-06-04 14:09:21 +02:00
Hans Dembinski
9b8de0536b
update section about parallel filling
2019-05-15 21:54:27 +02:00
Hans Dembinski
ed4935cd93
better build files
2019-04-20 00:00:29 +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
3d98d6208c
move requirements on cxx14 features into test and examples subprojects to not block doc build
2019-03-03 13:13:36 +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
2568a68f76
msvc fixes, simplification and bug-fixes of mp_int, more test coverage ( #159 )
...
* fixes broken msvc build
* smaller xml files for testing serialization
* fixing many warnings on msvc
* bug-fixes to mp_int regarding operators and new tests to check their behavior
* don't expect iterable histogram::at to have size method
* build benchmarks in release mode
* test everything by default when b2 is run on project directory
* more test coverage
2019-02-18 10:04:27 +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
aad952f11e
removing lexical_cast
2019-02-11 20:34:17 +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
718952e589
fixed building tests and examples
2019-02-08 17:11:26 +01:00
Hans Dembinski
64c61883a9
update example builds
2019-02-08 15:53:57 +01:00
Hans Dembinski
123e91c312
removing more project ids
2019-02-08 15:52:39 +01:00
Hans Dembinski
a2dcbdccd9
doc improvements
2019-02-07 22:57:08 +01:00
Hans Dembinski
1b6adadae4
nicer stream for histogram
2019-02-03 21:57:53 +01:00
Hans Dembinski
58bc54f52e
improved examples
2019-02-03 12:44:26 +01:00
Hans Dembinski
72d9ce635f
axis:replaced operator() with index and operator[] with bin
2019-01-27 20:56:15 +01:00
Hans Dembinski
32a089f91b
added example of 2d axis and replaced int with index_type
2019-01-24 21:57:17 +01:00
Hans Dembinski
47b8a0734d
CI fix
2019-01-24 20:53:33 +01:00
Hans Dembinski
5396998eb7
improved stdlib compat, fixed bug in reference
2019-01-24 00:16:38 +01:00
Hans Dembinski
f1135e3e89
example of stdlib compatibility
2019-01-22 23:45:46 +01:00
Hans Dembinski
1bd67c780e
use float literals in examples
2019-01-22 20:48:29 +01:00
Hans Dembinski
2ea4051e62
big clean-up of reference docu, fix for axis::variant<const Ts&...>, renamed operator_ostream header to ostream
2019-01-20 22:48:39 +01:00
Hans Dembinski
f8ebf85a05
accessor [] to index and indices
2019-01-17 21:56:02 +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
188bf8ecbe
Introduce grid type and derive histogram from grid
2019-01-11 00:06:26 +01:00
Hans Dembinski
92e1893272
improving docs, closes
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
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