709 Commits

Author SHA1 Message Date
Henry Schreiner
493a195a54 Fixing missing inline, adding link test (#231) 2019-10-08 10:10:23 +02:00
Hans Dembinski
92a873c746
Faster linearize (#230)
* introduce offset for faster linearization of non-growing axes
* added traits::is_inclusive and constexpr bool inclusive() methods for builtin axes
* bug fixes for fill method when weight array is used with non-inclusive axis and when growing axes are used
* bug fix of axis::options::test(...)
* coverage tested with gcc-8, updated CONTRIBUTING.md with coverage info
2019-10-06 23:03:45 +02:00
Hans Dembinski
ffe3e4d68c
assert on and test invalid combinations of axis options (#227) 2019-09-29 12:56:11 +02:00
Hans Dembinski
93ed93b484
fix comment and make assert condition easier to read (#225) 2019-09-29 10:48:46 +02:00
Hans Dembinski
bfa7edd5db
pass by value (#224) 2019-09-29 10:47:56 +02:00
Hans Dembinski
62a13a4103
minor change for consistency (#223) 2019-09-29 00:00:15 +02:00
pb
892cc9c4d7 ASCII output for 1D histograms (#201) 2019-09-28 16:41:00 +02:00
Hans Dembinski
b4298d6857
faster axis integer value method (#220) 2019-09-27 01:09:25 +02:00
Hans Dembinski
6b767cc2aa
update axis::traits (#217)
* added traits:::is_continuous, traits::value_type
* use of static_options on qualified types is now invalid
2019-09-24 23:05:03 +01:00
Hans Dembinski
c5c251fdbf
return copy instead of reference for scalar types (#218) 2019-09-24 22:41:49 +01:00
Hans Dembinski
937732c88e
fixes for C++20 (#215) 2019-09-12 21:26:16 +02:00
Hans Dembinski
6c5bf59ba1
getting started 04 update (#213) 2019-09-12 20:53:43 +02:00
Hans Dembinski
0d893d4eff
adding weight support for mean accumulator (#212)
changed type of sum to RealType for mean and added serialization tests for builtin accumulators
2019-09-12 08:08:39 +02:00
Henry Schreiner
35a93a8c81 Fix missing include (#209)
make_default is used in this file, but was not included
2019-09-09 11:25:57 +02:00
Hans Dembinski
af04e75edc
Fix project bug (#207)
fix for a seg fault, when there are too many passed indices
2019-08-25 19:01:09 +02:00
Hans Dembinski
ed573cb40f removing obsolete file 2019-08-25 15:06:41 +02:00
Hans Dembinski
7537d538ad
simplify detail::span
BOOST_ATTRIBUTE_NODISCARD can be removed (causes warnings on some clang versions), since code switches to std::span anyway when it is available
2019-08-23 12:54:18 +02:00
Hans Dembinski
e3a3bc5e09 fix for Apple LLVM 10.0.1 2019-08-23 10:10:24 +02:00
Hans Dembinski
edb27cab57 doc fix [ci skip] 2019-08-20 00:07:42 +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
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
6df7625740 added axis::rank 2019-08-07 11:20:32 +02:00
Hans Dembinski
ac79060944
fix axis::traits::update 2019-07-12 09:58:48 +02:00
Hans Dembinski
b99184792d comparisons simplified 2019-06-11 22:33:53 +02:00
Hans Dembinski
7e40aaf689
internal operators library replaces duplicated code 2019-06-10 16:05:51 +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
bb11ac6015 more noexcept 2019-06-04 10:23:41 +02:00
Hans Dembinski
e04a765b1f explain comma trick 2019-06-04 10:22:57 +02:00
Hans Dembinski
2239314eed
variant2 instead of detail::variant 2019-06-03 22:14:50 +02:00
Hans Dembinski
8eb9523c13 missing includes for std::string 2019-06-03 20:07:57 +02:00
Hans Dembinski
476cd81497 simpler 2019-06-03 00:09:57 +02:00
Hans Dembinski
82dc190c2a noexcept for traits::index and traits::update 2019-06-03 00:02:47 +02:00
Hans Dembinski
4102f28c07 simpler is_reducible 2019-06-02 23:59:58 +02:00
Hans Dembinski
830c908055
avoid warning in a simpler way 2019-06-02 23:27:48 +02:00
Hans Dembinski
bd05ec272b simpler 2019-06-02 22:02:36 +02:00
Hans Dembinski
4e7febfa2c get_if may not be called if there is more than one match 2019-06-02 21:35:27 +02:00
Hans Dembinski
96926f367f
splitting meta.hpp into parts 2019-05-31 16:46:49 +02:00
Hans Dembinski
237bf234c5 simplications to linearize and benchmarking 2019-05-30 19:36:02 +02:00
Hans Dembinski
7e05d8ff34 assert on preconditions 2019-05-29 01:07: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
e434804508
explicitly guarantee nothrow moves for all builtin axis types
* use preinstalled gcc5 on travis and don't stop on first error anymore
* update axis concept regarding nothrow moves
2019-05-28 22:29:26 +02:00
Hans Dembinski
ecd142080d
speed improvements for 1d and 2d histograms
* rename get_size to axes_rank and move axes buffer to axes.hpp
* added fill experiments
* faster and simpler fill_impl
* faster specializations for linearize_value
2019-05-26 23:51:15 +02:00
Hans Dembinski
5f937d3665 better docs 2019-05-16 08:58:55 +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
89056fc769 removed obsolete file 2019-05-14 00:19:34 +02:00
Hans Dembinski
89bf038f6e silence conversion warnings 2019-05-14 00:01:38 +02:00
Hans Dembinski
1cb35db5f0 clean-up 2019-05-13 23:21:15 +02:00
Hans Dembinski
edb1a3f7c4 replace with std 2019-05-13 21:19:12 +02:00
Hans Dembinski
edad3d5332 clang-format 2019-05-13 21:18:59 +02:00
Glen Fernandes
376ddeadc4 Simplify BOOST_NO_EXCEPTIONS support and use alloc_construct and alloc_destroy (#190) 2019-05-13 08:42:53 +02:00