819 Commits

Author SHA1 Message Date
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
3b110fc2a5 tabs to space, replace non-ascii [ci skip] 2019-02-11 22:30:41 +01:00
Hans Dembinski
e1837c6d40 avoid allocator<void> warning [ci skip] 2019-02-11 21:22:40 +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
53b66cafc8 squash a few warnings on the boost matrix 2019-02-09 17:11:42 +01:00
Hans Dembinski
a2dcbdccd9 doc improvements 2019-02-07 22:57:08 +01:00
Hans Dembinski
1aeeddd6a8 be more self-documenting [ci skip] 2019-02-06 23:53:45 +01:00
Hans Dembinski
f20abe19fb rename adaptive_storage to unlimited_storage, closes #150 2019-02-06 23:34:58 +01:00
Hans Dembinski
df4fefac18 histogram supports add, sub, mul, div 2019-02-06 00:29:22 +01:00
Hans Dembinski
6decac4755 fix ci 2019-02-05 13:00:56 +01:00
Hans Dembinski
017fa5a3a6 fix ci 2019-02-05 09:41:33 +01:00
Hans Dembinski
6cd4e59ed4 remove warnings by making conversion explicit 2019-02-05 09:34:11 +01:00
Hans Dembinski
5a5730e9cd more asserts 2019-02-05 00:26:56 +01:00
Hans Dembinski
c1bc7cbed8 getting rid of buffer.hpp, simplified adaptive_storage, make buffer is never in invalid state because of throw 2019-02-05 00:25:24 +01:00
Hans Dembinski
5c0c5f59b4 protect against invalid state after exception 2019-02-04 02:10:22 +01:00
Hans Dembinski
0b6763391e no unnamed namespace in header allowed 2019-02-04 02:10:03 +01:00
Hans Dembinski
d1f5156b7c test for overflow 2019-02-04 01:58:07 +01:00
Hans Dembinski
075fccc614 better name 2019-02-04 01:28:34 +01:00
Hans Dembinski
a2d7202547 more docu [ci skip] 2019-02-04 01:28:23 +01:00
Hans Dembinski
6d9861ebc2 simpler 2019-02-04 01:28:12 +01:00
Hans Dembinski
31d3f8cf49 doc improved [ci skip] 2019-02-04 01:04:22 +01:00
Hans Dembinski
c8fe13d2fa better serialization test 2019-02-04 00:57:20 +01:00
Hans Dembinski
1f7537700c make deserialization exception-safe 2019-02-03 22:30:18 +01:00
Hans Dembinski
1b6adadae4 nicer stream for histogram 2019-02-03 21:57:53 +01:00
Hans Dembinski
24429164a9 iosfwd instead of ostream header 2019-02-03 21:33:26 +01:00
Hans Dembinski
59ae6d7ca1 properly handle axis with allocators 2019-02-03 21:28:17 +01:00
Hans Dembinski
7d2d718c2d better docs [ci skip] 2019-02-03 21:09:40 +01:00
Hans Dembinski
4048586be1 nicer docs, move attribute.hpp to details 2019-02-03 20:36:49 +01:00
Hans Dembinski
f1bc45e72f doc improvement [ci skip] 2019-02-03 20:12:09 +01:00
Hans Dembinski
7978ddef03 test and bug-fix of subtraction 2019-02-03 19:01:03 +01:00
Hans Dembinski
5657d31c38 make histogram and all builtin storages subtractable 2019-02-03 17:14:29 +01:00
Hans Dembinski
beda2065a4 nicer type handling 2019-01-31 20:53:03 +01:00
Hans Dembinski
fa211299f7 tell about no-overflow-guarantee and its loss, closes #120 2019-01-31 20:42:35 +01:00
Hans Dembinski
72d9ce635f axis:replaced operator() with index and operator[] with bin 2019-01-27 20:56:15 +01:00
Hans Dembinski
8cc4ff26a9 fix comment [ci skip] 2019-01-27 19:48:43 +01:00
Hans Dembinski
0bb5c1b3f4 faster indexed iteration, replaced boost::container::X with std::X 2019-01-27 19:46:46 +01:00
Hans Dembinski
451f36c774 simple 2019-01-27 16:46:42 +01:00
Hans Dembinski
7035d687e3 move implementation into implementation file 2019-01-27 11:31:01 +01:00
Hans Dembinski
8d90019a53 remove obsolete 2019-01-27 11:30:28 +01:00
Hans Dembinski
ed5af698bc use std::enable_if_t for check, to get better error messages 2019-01-24 21:35: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
2a4ed0b5f9 improve reference docs 2019-01-22 23:05:53 +01:00
Hans Dembinski
fd0b7dea8d better reference docu 2019-01-22 22:14:38 +01:00
Hans Dembinski
a412b53f12 fix 2019-01-22 20:48:07 +01:00
Hans Dembinski
0c052f5d62 better docs 2019-01-20 23:28:28 +01:00
Hans Dembinski
6bc32d0ea6 nicer 2019-01-20 22:56:38 +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
b6f454f493 enable underflow and overflow for growing axis where possible 2019-01-19 23:19:04 +01:00