94 Commits

Author SHA1 Message Date
Hans Dembinski
cd3e1110cb
Updates from #370 (#397)
This PR keeps the useful changes from PR #370, which was never finished.
2024-04-24 17:39:24 +02:00
Matt Borland
cda7447c97
Replace deprecated find_package for python (#393)
* Replace deprecated find_package for python
* update cmake minimum version

---------

Co-authored-by: Hans Dembinski <hans.dembinski@gmail.com>
2024-04-23 14:11:46 +02:00
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
bebb509224
add ascii test and clarify why tests are skipped (#357) 2022-07-19 21:17:39 +02:00
Hans Dembinski
c234637336 fix ci build (#348) 2021-11-15 08:21:02 +01:00
Hans Dembinski
90a58d03ee
fix scaling for count and update CI (#328) 2021-06-27 16:58:14 +02:00
Peter Dimov
7902c851b2 Fix parenthesis placement; the simplistic dependency scanner only sees dependencies when they are on their own line with nothing else 2021-03-19 03:34:11 +02:00
Hans Dembinski
a819ef53bf
remove boost.assert and cleanup boost.config 2020-06-08 00:41:12 +02:00
Hans Dembinski
6591fa2aec
remove install 2020-06-07 10:26:40 +02:00
Hans Dembinski
9e5a4c4f24
adding CI test of superproject cmake 2019-12-29 20:44:44 +01:00
Hans Dembinski
5761c46985 another cmake fix 2019-12-29 15:18:42 +01:00
Hans Dembinski
27a49217ff
skip tests if compiler does not support required cxx_std 2019-12-28 22:17:24 +01:00
Hans Dembinski
ed9d6324d1
adapt and fix cmake build to match mp11, assert, ... 2019-12-28 20:16:46 +01:00
Hans Dembinski
1540c4e94a
fix for failing tests with exception-handling=off 2019-12-15 17:30:29 +01:00
Hans Dembinski
4c1caf3462
removing callable_traits
* replacing callable_traits with private implementation
2019-10-26 13:12:45 +02:00
Hans Dembinski
bf9cba189c
Update CMake version to boost/version.hpp 2019-08-25 15:24: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
2239314eed
variant2 instead of detail::variant 2019-06-03 22:14:50 +02:00
Hans Dembinski
885a8b93e5 copy version check from boost.assert and update version 2019-06-03 22:00:15 +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
6c268109a3
Safer indexed range
* defined behavior when .begin() is called more than once
* better documentation about behavior
2019-05-04 07:44:48 +02:00
Hans Dembinski
e75aa6b210
Google benchmark and benchmark improvements
* fetching google benchmark with cmake
* use new thread-safe accumulator in histogram_parallel_filling
* update boost, root and gsl benchmarks to use google benchmark
2019-05-03 22:06:01 +02:00
Hans Dembinski
4b9f13b11a remove all now unused deps 2019-05-03 11:40:04 +02:00
Hans Dembinski
6b386c9b51
increase coverage
* provide unsafe access to buffer
* factored mp_int out into separate header and renamed to large_int
* refined adding behavior
* more warnings and comeback of coverage variant
* better coverage reporting
2019-04-22 03:33:05 +02:00
Hans Dembinski
ed4935cd93
better build files 2019-04-20 00:00:29 +02:00
Hans Dembinski
c10adcea1a fix broken tests 2019-04-16 23:13:32 +02:00
Hans Dembinski
910431d8ad
Partial boost-cmake support
Running tests works, but installing targets does not
2019-04-14 19:54:46 +02:00
Hans Dembinski
4360d249d1 removing cmake support 2019-02-24 10:40:40 +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
39b7afe2bf better serialization tests which avoid having the xml data inline 2019-02-11 22:30:07 +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
b7b945a0bc fixing the test in both build systems 2019-02-09 15:56:08 +01:00
Hans Dembinski
f20abe19fb rename adaptive_storage to unlimited_storage, closes #150 2019-02-06 23:34:58 +01:00
Hans Dembinski
92557fb015 fix ci 2019-02-05 13:54:36 +01:00
Hans Dembinski
b5eed0d90c fix ci 2019-02-05 13:25:04 +01:00
Hans Dembinski
f521864203 better way to pass data files to test 2019-02-05 09:21:24 +01:00
Hans Dembinski
da05be7128 improved benchmarks in docu 2019-02-03 12:45:04 +01:00
Hans Dembinski
58bc54f52e improved examples 2019-02-03 12:44:26 +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
f1135e3e89 example of stdlib compatibility 2019-01-22 23:45:46 +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
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
2e4ad7a5df enable growing axis support at compile-time only when needed 2019-01-11 23:33:30 +01:00
Hans Dembinski
7be6dd27f6 wip, support for growing axes 2019-01-11 00:11:34 +01:00
Hans Dembinski
dc9437044b 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
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
d96f749a52 deduction guides for histogram 2019-01-11 00:06:26 +01:00