Hans Dembinski
793ef884df
wip: fixing tests, removed weight_counter from adaptive_storage, storage scaling with double
2019-01-11 00:06:25 +01:00
Hans Dembinski
5187b50656
fixed
2019-01-11 00:06:25 +01:00
Hans Dembinski
7b44f83ed1
WIP, added tests of failing behavior
2019-01-11 00:06:25 +01:00
Mateusz Łoskot
58b1b31bdc
Fix prototype of tracing_allocator::deallocate
...
Align the parameter types with std::allocator::deallocate prototype.
Otherwise, compilation using MSVC 19.15.26729 fails due to
unresolved conversion of the first argument from T* const to T*&
2019-01-11 00:06:25 +01:00
Hans Dembinski
b808a913f9
whitespace
2018-09-16 18:50:06 +02:00
Mateusz Łoskot
03e5150e0b
Compile and link histogram speed test by default
2018-09-16 01:10:14 +02:00
Hans Dembinski
60f351b688
fix
2018-09-16 00:03:35 +02:00
Mateusz Łoskot
25a9d80f8e
Add adaptive_storage_serialization_test.cpp to test/Jamfile
...
Refine dependency on Boost.Serialization in test/Jamfile.
Rename Jamfile.v2 files to Jamfile - the historic suffix
is no longer relevant.
2018-09-15 23:41:46 +02:00
Mateusz Łoskot
07b4b410ce
Add run-fail tests to test/Jamfile for Boost.Build
...
Refactor test/Jamfile to manually list all tests.
Add top-level Jamfile with common compilation settings.
2018-09-15 23:01:35 +02:00
Hans Dembinski
ac0e503436
adapted test
2018-09-15 22:40:47 +02:00
Hans Dembinski
633159dbc8
fix for issue 72, allocator not used for cpp_int
2018-09-15 19:50:46 +02:00
Hans Dembinski
8694655993
fix
2018-09-15 15:29:40 +02:00
Hans Dembinski
f7bd1a3b22
different convention for expected to fail tests
2018-09-15 14:11:50 +02:00
Hans Dembinski
654b5a2be6
removing all python
2018-09-15 13:29:34 +02:00
Mateusz Łoskot
ae4f87ceff
Fix include guards without leading underscore
...
Remove leading undescore from the macro names, make them legal C++.
2018-09-14 23:10:14 +02:00
Hans Dembinski
d2a95786f2
throwing out static_axes and dynamic_axes aliases
2018-08-24 10:51:58 +02:00
Hans Dembinski
539cb57f27
bit more coverage
2018-08-23 22:47:14 +02:00
Hans Dembinski
7da8d1d7ff
fixing test on windows
2018-08-23 22:41:49 +02:00
Hans Dembinski
9cf5b96478
fix warnings about comparison of signed and unsigned
2018-08-23 13:07:26 +02:00
Hans Dembinski
d817764136
allocator support for category axis
2018-08-22 14:55:44 +02:00
Hans Dembinski
68a41de1e7
fixing more tests
2018-08-22 13:06:39 +02:00
Hans Dembinski
6517467aa2
fixing more tests
2018-08-22 13:04:11 +02:00
Hans Dembinski
4e6004af06
fixing a few tests
2018-08-22 12:43:00 +02:00
Hans Dembinski
f1c59deb04
make axis::variable allocator aware
2018-08-21 18:45:52 +02:00
Hans Dembinski
8216af927e
fixing compilation of histogram_test, removed redundant code in make_*_histogram variants, more control over types allowed by make_dynamic_histogram*
2018-08-21 12:37:17 +02:00
Hans Dembinski
affe12e4cd
init, WIP, compilation broken
2018-08-16 00:37:18 +02:00
Hans Dembinski
9c15c580a5
use std::size_t instead of int for axis indices, use asserts to make sure that arguments for reduce_to are proper, added missing copyright statements
2018-08-14 23:27:42 +02:00
Hans Dembinski
6fd8bd4e1d
eliminate msvc warning
2018-08-13 21:33:03 +02:00
Hans Dembinski
7832cca461
more coverage
2018-08-13 20:58:06 +02:00
Hans Dembinski
07c11ddb91
removing utility header everywhere
2018-08-13 14:50:52 +02:00
Hans Dembinski
904d05f55b
fix of speed_cpp and ignore some warnings in release mode
2018-08-13 01:44:58 +02:00
Hans Dembinski
d4b1715451
all tests pass
2018-08-13 01:24:41 +02:00
Hans Dembinski
be5d706769
unified histogram template
2018-08-12 22:25:32 +02:00
Hans Dembinski
9c41fa84ff
fixed test for adapative storage
2018-08-06 00:38:30 +02:00
Hans Dembinski
109a7183ab
WIP: everything compiles but most of histogram class is broken
2018-08-06 00:31:45 +02:00
Hans Dembinski
a84f469944
superficial adaptation of axis types, still need to use allocator internally
2018-08-05 15:56:58 +02:00
Hans Dembinski
31a0c2b8c0
and corresponding test with cleanup
2018-08-05 13:33:31 +02:00
Hans Dembinski
93301685a5
superfluous
2018-08-04 12:17:12 +02:00
Hans Dembinski
bdcb1025bc
switching back to std::vector to fix tests, not worth the trouble
2018-08-03 22:34:36 +02:00
Hans Dembinski
9a2d4c4165
partial fix
2018-08-03 15:54:02 +02:00
Hans Dembinski
d30f269b3f
suppress warning on msvc
2018-08-01 01:13:35 +02:00
Hans Dembinski
c8bc743c2c
fix
2018-08-01 00:32:19 +02:00
Hans Dembinski
107f971508
fix
2018-08-01 00:18:16 +02:00
Hans Dembinski
e8bd056d8e
fixed all tests
2018-07-31 22:30:03 +02:00
Hans Dembinski
b473391493
everything works up to serialization
2018-07-29 17:15:41 +02:00
Hans Dembinski
4584fda1df
work in progress
2018-07-29 15:01:41 +02:00
Hans Dembinski
8c0f521e58
more coverage
2018-07-22 23:27:00 +02:00
Hans Dembinski
15c44e9856
fix
2018-07-22 19:05:52 +02:00
Hans Dembinski
72ee4a4f53
fix
2018-07-22 18:56:38 +02:00
Hans Dembinski
55118d329c
fix
2018-07-22 18:33:25 +02:00
Hans Dembinski
c67329ffb4
more coverage
2018-07-22 17:30:49 +02:00
Hans Dembinski
701221daee
less warnings on MSVC
2018-07-22 16:29:08 +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
d4dbae92f5
clang-format everything
2018-07-21 17:27:18 +02:00
Hans Dembinski
47d4d85301
use static_cast_visitor to simplify class implementation, removed custom axis::cast, use standard static_cast instead
2018-07-21 16:19:33 +02:00
Hans Dembinski
841ba80229
remove redundant tests and definitions
2018-07-21 16:17:36 +02:00
Hans Dembinski
cb9e6696b6
missing files
2018-07-19 23:50:48 +02:00
Hans Dembinski
f5d1c0a00d
internal refactoring and a bug fix
2018-07-19 23:48:48 +02:00
Hans Dembinski
2198ff883f
clang format everything with new house style
2018-07-19 22:19:01 +02:00
Hans Dembinski
42326254f8
Merge branch 'develop' of github.com:HDembinski/histogram into develop
2018-07-19 00:25:32 +02:00
Hans Dembinski
427fc5c9a1
refactoring of axes class hierarchy, implemented common base type optimization for axis::any
2018-07-19 00:25:13 +02:00
Hans Dembinski
0fd4b3dd6e
removing platform-dependent tests
2018-07-18 13:37:59 +02:00
Hans Dembinski
6ff37c06f8
renamed bincount method to size, removed inline where it is not needed, added inline for free functions, made histogram iterator light-weight, put index cache into histogram class
2018-07-16 00:34:01 +02:00
Hans Dembinski
13db98a65b
minor code refactoring, better performance for dynamic histogram without inline
2018-07-15 22:29:50 +02:00
Hans Dembinski
c8352f1e50
additional test
2018-07-15 16:49:51 +02:00
Hans Dembinski
bb1518141d
more coverage
2018-07-14 19:39:52 +02:00
Hans Dembinski
391c2d6e83
more coverage
2018-07-14 19:20:09 +02:00
Hans Dembinski
d83fe99cfc
renamed axis.hpp to types.hpp
2018-07-14 18:10:44 +02:00
Hans Dembinski
bca4892d62
cleanup
2018-07-14 17:22:13 +02:00
Hans Dembinski
aed4255fc0
clang format
2018-07-14 16:59:22 +02:00
Hans Dembinski
422f4b32c0
fix for clang
2018-07-14 16:26:37 +02:00
Hans Dembinski
f62c927e88
fixing travis
2018-07-14 16:16:04 +02:00
Hans Dembinski
ceb095c840
fixing msvc
2018-07-14 15:58:31 +02:00
Hans Dembinski
6a6bf76100
fixing benchmarks, simplified build
2018-07-14 15:51:07 +02:00
Hans Dembinski
bb9289c258
refactoring completed, all tests pass
2018-07-14 15:27:08 +02:00
Hans Dembinski
052585b488
work in progress, everything compiles again
2018-07-14 01:37:34 +02:00
Hans Dembinski
e1fa2fa644
work in progress
2018-07-13 23:21:04 +02:00
Hans Dembinski
c7bca32b59
cleanup
2018-07-13 01:35:34 +02:00
Hans Dembinski
39a3d1ad69
restored and tested for_each
2018-07-13 01:24:16 +02:00
Hans Dembinski
b5d2b36a25
work in progress: axis_test and detail_test working
2018-07-13 00:41:20 +02:00
Hans Dembinski
06d6635684
better coverage, more consistent exceptions, better handling of transforms
2018-07-11 22:41:42 +02:00
Hans Dembinski
473e47dc94
adapt to new interface
2018-07-11 10:22:47 +02:00
Hans Dembinski
da5f42b3da
support for operator[]
2018-07-08 19:12:13 +02:00
Hans Dembinski
b9a35f7b4f
renamed method bin to method at
2018-07-05 09:10:04 +02:00
Hans Dembinski
6c5b56d1bc
more coverage
2018-07-05 01:13:18 +02:00
Hans Dembinski
dfafc863fe
more coverage
2018-07-05 01:05:30 +02:00
Hans Dembinski
43dbc112b3
fix python tests
2018-07-04 23:51:42 +02:00
Hans Dembinski
d03bf52ffa
fix bug
2018-07-04 21:43:58 +02:00
Hans Dembinski
8d25563438
increase test coverage, simplify testing of python stuff, add support for tests which intentionally trigger an assert
2018-07-04 21:34:34 +02:00
Hans Dembinski
5027bc48c4
removing obsolete header and fix test
2018-07-04 00:30:02 +02:00
Hans Dembinski
5837e8d0c6
fix travis
2018-07-03 09:09:05 +02:00
Hans Dembinski
f9203a1159
fixed build, removed implicit conversion of weight_counter to double, make serialization really optional
2018-07-03 00:08:34 +02:00
Hans Dembinski
56ffce6223
fix of build system and some gcc warnings
2018-07-02 21:21:46 +02:00
Hans Dembinski
316789b765
fixed python tests, make debug build by default, started to reduce template dependencies
2018-07-02 13:08:07 +02:00
Hans Dembinski
cfd47c4c11
fixing most of the python errors
2018-07-02 01:01: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
dac1a0c0be
clang format
2018-03-28 13:22:10 +02:00
Hans Dembinski
23378345e7
STL support, making weight_counter implicitly convertible to RealType so that stl algorithms work with iterators
2018-03-28 12:05:10 +02:00
Hans Dembinski
95076ace3c
lightweight alternative to vector
2018-03-18 22:22:51 +01:00
Hans Dembinski
8dc93c83d2
clang format
2018-03-15 21:06:41 +01:00
Hans Dembinski
6e7673204c
better testing of adaptive_storage without using brittle tricks
2018-03-15 20:44:00 +01:00
Hans Dembinski
88ccfee628
simplified and corrected headers
2018-03-14 23:16:35 +01:00
Hans Dembinski
69064b3a54
increased coverage
2018-03-14 22:59:17 +01:00
Hans Dembinski
70052de783
more test coverage
2018-03-14 22:42:05 +01:00
Hans Dembinski
acb0a38d20
fixed iterator::bin() method; got rid of explicit specialization; more tests
2018-03-13 21:18:23 +01:00
Hans Dembinski
ce93a88986
renamed Storage::bin_type to element_type; added Storage::const_reference; renamed histogram::bin_iterator to const_iterator; added bin(unsigned) method to histogram::const_iterator, which returns the current bin_type for that dimension
2018-03-13 00:26:41 +01:00
Hans Dembinski
37ccf6d80c
finally elegant iteration over axis bins
2018-03-11 19:59:03 +01:00
Hans Dembinski
fe4bd1701d
switched to lazy interval_view to improve performance
2018-03-11 17:08:13 +01:00
Hans Dembinski
f14cca8f97
more fixes for travis
2018-03-10 23:19:16 +01:00
Hans Dembinski
3916ea2c31
attempt to fix initializer list issues
2018-03-10 23:09:58 +01:00
Hans Dembinski
4c6cb592db
missing includes
2018-03-10 23:00:34 +01:00
Hans Dembinski
5a546b0971
clang-format
2018-03-10 22:51:54 +01:00
Hans Dembinski
460b417338
slightly more coverage
2018-03-10 22:51:08 +01:00
Hans Dembinski
fd38805b0b
merged meta_test with detail_test and test detail::cat
2018-03-10 22:08:49 +01:00
Hans Dembinski
8e904a3645
added reverse iterators, simplified code
2018-03-10 20:20:32 +01:00
Hans Dembinski
541ca5eb32
simplification and clean-up
2018-03-02 17:21:28 +01:00
Hans Dembinski
8b11d8cdc5
fixed all the bugs and all the tests
2018-03-01 18:11:50 +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
d2e2d23c77
clang-format
2018-02-28 23:14:28 +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
6b691543b8
added variance iterator, lin_visitor does not need to be templated
2017-12-10 22:01:59 +01:00
Hans Dembinski
6068e96dab
clang format and renaming iterator header
2017-12-10 20:39:27 +01:00
Hans Dembinski
d6b06a0022
back to histogram master template
2017-12-10 20:05:35 +01:00
Hans Dembinski
739625e531
update copyright notice and renamed axis_iterator
2017-11-28 22:21:03 +01:00
Hans Dembinski
9b8540f840
fix travis
2017-11-28 17:47:16 +01:00
Hans Dembinski
09028f390c
fix travis
2017-11-28 17:38:13 +01:00
Hans Dembinski
470492c748
adding value_iterator for histogram, make weight_counter public, allow passing weight_counter as argument to array_storage
2017-11-28 15:55:18 +01:00
Hans Dembinski
8cee054633
added missing reduce_to to Python
2017-11-13 11:37:44 +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
Hans Dembinski
e0c8138539
fix the reduce mess
2017-11-11 12:51:05 +01:00
Hans Dembinski
c5d2eabda0
adding reduce-remove
2017-11-10 23:13:48 +01:00
Hans Dembinski
fa3ba7bca8
improved handling of vairance-less storage policies
2017-11-10 20:01:55 +01:00
Hans Dembinski
0637deed4e
renaming weight to weight_counter, replacing asserts on user errors with throws, guide improvements
2017-11-10 16:38:58 +01:00
Hans Dembinski
d3bba7c4bc
fat extension of user gude
2017-11-09 23:02:13 +01:00
Hans Dembinski
776bcbd4fe
improving documentation and tests of using iterator ranges, expanded guide
2017-11-09 16:35:01 +01:00
Hans Dembinski
0923ef3be2
support count keyword on the python side
2017-11-09 12:10:16 +01:00
Hans Dembinski
9dd822b6e7
better test, better doc
2017-11-08 18:20:27 +01:00
Hans Dembinski
dbd05fd1cd
refactoring, allow iteration over axis::any
2017-11-08 18:10:20 +01:00
Hans Dembinski
e98603a635
also test bad add
2017-11-08 16:45:18 +01:00
Hans Dembinski
d9a792a666
adding and testing operators on the python side
2017-11-08 16:38:44 +01:00
Hans Dembinski
baf81b9d62
fixing issues with generic axis type
2017-11-08 10:48:25 +01:00
Hans Dembinski
6d1c1b2c62
better diag
2017-11-07 20:38:11 +01:00
Hans Dembinski
1a12c574c6
getting rid of utility functions, tested and fixed bugs related to unusual axis value types
2017-11-07 19:29:22 +01:00
Hans Dembinski
de5ddecbbd
make iteration and bin access consistent in python and c++, exclude under/overflow bins now
2017-11-06 14:22:37 +01:00
Hans Dembinski
52dfdbc585
clang format
2017-11-06 11:50:05 +01:00
Hans Dembinski
5dee79f556
improving and testing operators
2017-11-05 23:44:37 +01:00
Hans Dembinski
371cbc9385
support multiply and test it
2017-11-05 22:18:58 +01:00
Hans Dembinski
76c596dfc4
allocator is gone, accepting any sequence in python for fill is back, refactoring in adaptive_storage
2017-11-05 21:54:14 +01:00
Hans Dembinski
b25d5a4e23
fix
2017-11-04 20:16:02 +01:00
Hans Dembinski
9bb392906d
different python interface for transformed axes, more code sharing for array_bases in adaptive_storage, reactivate axis_size test, moved bimap into a pointer to make category axis smaller
2017-11-04 20:03:53 +01:00
Hans Dembinski
0f4c9e25ab
added checks for transforms, and be more consistent between c++ and python interface
2017-11-04 11:55:54 +01:00
Hans Dembinski
03c8436f4c
fix
2017-11-04 00:32:22 +01:00
Hans Dembinski
14c43544bc
added pow transform, transforms can now be used from python
2017-11-04 00:15:50 +01:00
Hans Dembinski
141e41adc7
better support for transforms
2017-11-03 19:39:07 +01:00
Hans Dembinski
7717852168
simpler, restrict numpy arrays to type double
2017-11-03 18:35:01 +01:00
Hans Dembinski
b2a2cc123d
fix
2017-11-03 16:26:33 +01:00
Hans Dembinski
e12856b03d
replaced CApi numpy with boost numpy
2017-11-03 00:13:43 +01:00
Hans Dembinski
ad2d323d92
simplify
2017-11-02 22:39:33 +01:00
Hans Dembinski
757d4b0ca4
interface break for axis, new category axis
2017-11-02 21:43:04 +01:00
Hans Dembinski
0be8c7b2e2
simpler
2017-10-27 20:42:20 +02:00
Hans Dembinski
3ba9e8e417
make integer type variable, use enum for uoflow option instead of bool for clarity
2017-10-18 18:07:10 +02:00
Hans Dembinski
69ab4c1030
better code example checks, better support for dynamic reduce
2017-10-18 15:51:16 +02:00
Hans Dembinski
c07162e7a8
fixed reduce function
2017-10-13 16:26:41 +02:00
Hans Dembinski
7e8b2bb403
replaced container_storage with array_storage, simplified comparison between storage types
2017-10-13 11:20:59 +02:00
Hans Dembinski
dab47e6fa9
support passing individual arays and broadcasting in python histogram; also adapted interface in speed_numpy.py
2017-08-31 22:46:07 +02:00
Hans Dembinski
b71638f603
switching back to axis method
2017-06-04 18:17:42 +02:00
Hans Dembinski
d5097869c6
updating tests, include examples in docu
2017-06-04 18:00:49 +02:00
Hans Dembinski
2a2daee159
fix
2017-06-04 11:58:05 +02:00
Hans Dembinski
dbb34cf5c6
clang-format
2017-06-04 11:53:57 +02:00
Hans Dembinski
ef4898ddc2
put axis in extra namespace, put python axis objects in axis submodule
2017-06-04 11:53:15 +02:00
Hans Dembinski
6ec89079e0
fixing issues with left,right,center
2017-06-03 14:00:13 +02:00
Hans Dembinski
986e64a7cb
reduce feature implemented
2017-06-03 11:52:06 +02:00
Hans Dembinski
def7d6b05a
use new add method and clangformat
2017-05-30 19:26:22 +02:00
Hans Dembinski
b94d21a46f
Merge branch 'master' into reduce
2017-05-30 19:03:23 +02:00
Hans Dembinski
1f93088554
testing and fixing bug related to adding histogram with weighted entries
2017-05-30 18:57:53 +02:00
Hans Dembinski
3ad8a9e4b8
adding reduce with tests
2017-05-14 18:44:23 +02:00
Hans Dembinski
9606c38a64
prepare/change interface for point-wise adding
2017-05-05 00:13:44 +02:00
Hans Dembinski
c59fa052e1
fixing doc and renaming default_axes to builtin_axes
2017-05-03 00:05:19 +02:00
Hans Dembinski
e5a31f541a
more coverage
2017-05-02 23:08:06 +02:00
Hans Dembinski
9272cf896b
nicer fill interface and clang-format
2017-05-02 14:22:27 +02:00
Hans Dembinski
aecfab98bb
test and fix mixed assignment
2017-04-27 14:30:10 +02:00
Hans Dembinski
ce7046d1a4
fix serialization issues
2017-04-27 13:48:21 +02:00
Hans Dembinski
784e482037
merge tests for static and dynamic variant
2017-04-27 11:38:11 +02:00
Hans Dembinski
8aac475d72
clang-format and possible fix for gcc-4.8
2017-04-25 10:35:42 +02:00
Hans Dembinski
a2bc4f428d
use integral constants to access axis in histogram statically
2017-04-25 10:10:22 +02:00
Hans Dembinski
00807ca54d
adding transforms for regular_axis
2017-04-24 18:28:57 +02:00
hans.dembinski@gmail.com
76d1621ccd
update benchmark
2017-04-11 10:59:20 +02:00
Hans Dembinski
7b673fe3f6
cmake
2017-04-07 20:21:59 +02:00
Hans Dembinski
840890d6ca
test unhittable branch
2017-04-06 22:47:25 +02:00
Hans Dembinski
4219a4f44a
added reset and clang-format
2017-04-06 22:17:59 +02:00
Hans Dembinski
a023a46f90
use static dispatch
2017-04-06 21:57:14 +02:00
Hans Dembinski
c67a32d0c7
fix for compiler
2017-04-06 20:58:36 +02:00
hans.dembinski@gmail.com
bd6912d5e8
missing test
2017-04-06 12:16:42 +02:00
hans.dembinski@gmail.com
5231ac53eb
added conversion between dynamic and static axes vectors
2017-04-06 12:15:30 +02:00
Hans Dembinski
756989ac85
Merge branch 'master' of github.com:HDembinski/histogram
2017-03-31 23:00:12 +02:00
Hans Dembinski
1ce4533789
polishing
2017-03-31 22:59:55 +02:00
hans.dembinski@gmail.com
821d1d7f72
update speed tests
2017-03-31 15:01:15 +02:00
Hans Dembinski
f6dd8b2cd2
support custom axis objects
2017-03-30 22:28:30 +02:00
Hans Dembinski
7606d375fe
clangformat
2017-03-29 22:26:14 +02:00
Hans Dembinski
7bc9bd8016
polishing
2017-03-29 21:15:43 +02:00
Hans Dembinski
4ce3973c77
more tests and a fix
2017-03-28 23:51:48 +02:00
Hans Dembinski
3b31bf51df
clang-format
2017-03-28 23:27:22 +02:00
Hans Dembinski
493d6c7974
unified both histogram classes
2017-03-28 23:21:21 +02:00
Hans Dembinski
8fd50d36da
make views read-only and dont modified viewed
2017-03-28 09:41:16 +02:00
Hans Dembinski
f589156407
fix
2017-03-28 00:27:55 +02:00
Hans Dembinski
8e79d30145
fix cov
2017-03-28 00:13:32 +02:00
Hans Dembinski
c47f886d3e
fix cov
2017-03-28 00:11:05 +02:00
Hans Dembinski
1665d97841
fix test hole
2017-03-27 23:46:19 +02:00
Hans Dembinski
31aad75893
drop axis method in python
2017-03-27 22:45:45 +02:00
Hans Dembinski
908f8fd9f6
more test cov
2017-03-27 21:58:01 +02:00
hans.dembinski@gmail.com
a323ec377f
minor fixes and clang-format
2017-03-27 16:49:51 +02:00
hans.dembinski@gmail.com
1deab9517e
update benchmark
2017-03-27 16:19:46 +02:00
hans.dembinski@gmail.com
f38085daa9
new working adaptive_storage
2017-03-27 15:13:16 +02:00
Hans Dembinski
12003ce3f1
nicer design for adaptive_storage
2017-03-27 01:07:21 +02:00
Hans Dembinski
1e6b9f920b
simpler and less header coupling
2017-03-26 16:16:05 +02:00
Hans Dembinski
16bff091bf
clang-tidy
2017-03-25 19:15:11 +01:00
Hans Dembinski
e2426fbdef
clang-formatted code
2017-03-25 17:20:37 +01:00
Hans Dembinski
5049feae99
test more
2017-03-24 23:38:13 +01:00
Hans Dembinski
4e23deca23
better
2017-03-24 23:03:00 +01:00
Hans Dembinski
adfd33a1aa
fix for cpp_int numpy conversion
2017-03-24 22:54:25 +01:00
Hans Dembinski
f81cbe9fec
fix bug for conversion of uninitialized histogram
2017-03-24 21:33:01 +01:00
Hans Dembinski
bfd4f440f4
more pythonic interface
2017-03-24 09:26:37 +01:00
Hans Dembinski
91800f3def
added gsl speed check
2017-03-24 09:26:05 +01:00
Hans Dembinski
724356341a
test
2017-03-22 23:05:20 +01:00
hans.dembinski@gmail.com
5a7b7b09b6
support repr for histogram in python
2017-03-22 18:38:18 +01:00
hans.dembinski@gmail.com
9936d3104d
nicer coveralls
2017-03-22 14:43:45 +01:00
hans.dembinski@gmail.com
baa10c4f15
test for travis
2017-03-22 13:37:03 +01:00
hans.dembinski@gmail.com
39cc44991a
simplify
2017-03-21 11:54:51 +01:00
Hans Dembinski
550cb0b562
test iterators
2017-03-18 19:24:56 +01:00
Hans Dembinski
0448dd0012
more tests
2017-03-18 19:09:26 +01:00
Hans Dembinski
41a767947a
added axis iterators
2017-03-18 18:16:21 +01:00
Hans Dembinski
1755cdc6c6
polar_axis to circular_axis
2017-03-17 08:44:48 +01:00
Hans Dembinski
babaa8254f
fix behavior, it is ok too have many axes, it is not okay to fill them from python with *args
2017-03-16 21:46:18 +01:00
Hans Dembinski
77d281f08a
bug-fix for category_axis default ctor, better tests of copy and move
2017-03-16 21:28:54 +01:00
hans.dembinski@gmail.com
c3009e906d
test axis overflow
2017-03-16 12:17:39 +01:00
Hans Dembinski
9f66933bc0
fix travis
2017-03-16 09:17:04 +01:00
Hans Dembinski
181a88e7da
make realtype a template parameter
2017-03-16 09:15:34 +01:00
Hans Dembinski
e9fa8aa820
return to std::string
2017-03-15 23:23:25 +01:00
hans.dembinski@gmail.com
a373045d15
more guide
2017-03-02 16:35:10 +01:00
hans.dembinski@gmail.com
b2e3a783af
reduced constructors for dynamic_histogram, fixed bug in iterator-based constructor and added test
2017-03-02 15:03:11 +01:00
hans.dembinski@gmail.com
dae1908b51
improving benchmark and benchmark doc
2017-02-14 00:12:12 +00:00
hans.dembinski@gmail.com
a7f0d790b8
simpler speed checks
2017-02-13 01:16:10 +00:00
hans.dembinski@gmail.com
6bbea4db33
simplified speed check
2017-02-12 23:22:51 +00:00
hans.dembinski@gmail.com
758a8bceaa
never mind, fill is definitely better than increment
2017-02-11 19:38:42 +00:00
hans.dembinski@gmail.com
fcf9366d89
switch from fill to increment
2017-02-11 18:41:44 +00:00
hans.dembinski@gmail.com
849c11e6ae
switching to cstr
2017-02-07 19:59:35 +00:00
hans.dembinski@gmail.com
3ba3f2d925
prettier
2017-02-05 22:30:31 +00:00
hans.dembinski@gmail.com
f95822a3b6
removing hotfix
2017-02-05 22:01:21 +00:00
hans.dembinski@gmail.com
ddd97e9114
switch to lightweight_test
2017-02-05 18:34:39 +00:00
hans.dembinski@gmail.com
6633cab56b
switch to lightweight test
2017-02-05 16:31:28 +00:00
hans.dembinski@gmail.com
b0934916a9
fixing jams and better type safety in tests
2017-02-05 12:15:49 +00:00
hans.dembinski@gmail.com
0d0756a73b
more test coverage
2017-02-02 15:30:02 +00:00
hans.dembinski@gmail.com
9a93a7397a
make type order more consistent
2017-02-02 10:54:19 +00:00
hans.dembinski@gmail.com
afd7f9db21
fixed bug when adding adaptive_storage to itself, more test coverage
2017-02-02 01:22:12 +00:00
hans.dembinski@gmail.com
2798afffcb
more tests
2017-02-01 23:17:58 +00:00
hans.dembinski@gmail.com
13c577ad12
more tests
2017-02-01 23:13:49 +00:00
hans.dembinski@gmail.com
6c96188b17
more tests
2017-02-01 23:11:27 +00:00
hans.dembinski@gmail.com
aaae031733
more tests
2017-02-01 22:47:06 +00:00
hans.dembinski@gmail.com
bf9cfb81bd
more tests
2017-02-01 22:38:21 +00:00
hans.dembinski@gmail.com
c8be9fa394
more tests
2017-02-01 21:58:06 +00:00
hans.dembinski@gmail.com
8318ab7868
better test
2017-02-01 21:52:14 +00:00
hans.dembinski@gmail.com
547ef24e38
better test, and fix
2017-02-01 21:18:49 +00:00
hans.dembinski@gmail.com
d8fa847736
more coverage
2017-02-01 18:42:00 +00:00
hans.dembinski@gmail.com
f8ad3052b8
more coverage
2017-02-01 18:41:13 +00:00
hans.dembinski@gmail.com
86c9a09206
more coverage
2017-02-01 18:33:08 +00:00
hans.dembinski@gmail.com
183d3a0c34
try to fix gcc-4.8 on travis
2017-01-31 11:45:06 +01:00
hans.dembinski@gmail.com
9625502fa3
fixed comparison operators, more tests of copying
2017-01-31 07:10:59 +01:00
hans.dembinski@gmail.com
6c87c931e2
allocator support for adaptive_storage, fix for empty tiny_string, more test coverage
2017-01-30 17:28:17 +01:00
Hans Dembinski
1cea27fe72
more coverage
2017-01-30 00:47:53 +01:00
Hans Dembinski
67908f5a36
more coverage
2017-01-29 22:52:24 +01:00
Hans Dembinski
ea4b5c1b56
fixing test
2017-01-29 21:58:02 +01:00
Hans Dembinski
678bdca032
refactoring and renaming, dynamic_storage to adapative_storage, static_storage to container_storage
2017-01-29 21:37:56 +01:00
Hans Dembinski
d09830e272
early allocator support and support for boost multiprecision cpp_int
2017-01-26 23:07:37 +01:00
Hans Dembinski
5f23c006a4
getting rid of buffer.hpp again, better operator+= for dynamic_storage, no move from static_storage
2017-01-24 00:43:03 +01:00
Hans Dembinski
df228e2772
use mapping type <-> int instead of type <-> sizeof(type)
2017-01-23 00:01:43 +01:00
Hans Dembinski
3b12a3cf81
adapting to boost structure, adding old docs (to be improved), drop reliance on calloc
2017-01-20 08:47:08 +01:00
Hans Dembinski
7250c6295b
better test
2017-01-10 21:14:08 +01:00
Hans Dembinski
a4d34c1851
better test
2017-01-10 21:11:27 +01:00
Hans Dembinski
8e85222aeb
better test
2017-01-10 20:57:34 +01:00
Hans Dembinski
ecc9a9dc4c
lazy allocation for dynamic_storage
2017-01-10 00:34:31 +01:00
Hans Dembinski
39443642f7
fixes
2017-01-08 22:00:25 +01:00
Hans Dembinski
e9870bf75e
fixes
2017-01-08 21:24:48 +01:00
Hans Dembinski
bb5ed8c84e
cleanup and adding iterator-based methods to static_histogram
2017-01-08 21:10:44 +01:00
Hans Dembinski
bad2379caa
make axis objects smaller by using tiny_string
2017-01-08 17:55:28 +01:00
Hans Dembinski
042ec3e2cb
more fun with metaprogramming, simplified escape function
2017-01-07 22:34:38 +01:00
Hans Dembinski
b901710375
code polishing, adapted docs, more utilities
2017-01-06 18:53:28 +01:00
Hans Dembinski
cc3935ce47
fully implemented static_histogram and tests
2017-01-06 12:26:58 +01:00
Hans Dembinski
e7b9836f20
fix doc
2017-01-05 18:45:48 +01:00
Hans Dembinski
5ca5dac6d3
make template arguments of histograms consistent
2017-01-05 10:05:21 +01:00
Hans Dembinski
f82e99d56a
beginning work on static_histogram
2017-01-04 23:20:59 +01:00
Hans Dembinski
c638b6dee5
restoring tests and checks
2017-01-03 23:48:18 +01:00
Hans Dembinski
6338a57883
use typelists
2017-01-03 20:35:24 +01:00
Hans Dembinski
26aa012d76
preparing addition of static_histogram
2017-01-03 11:01:51 +01:00
Hans Dembinski
ddc59bcc32
make integer_axis behave more like regular_axis, more tests
2016-12-18 19:56:01 +01:00
Hans Dembinski
2a91a54c4c
documentation fixes and cleanup
2016-12-18 16:57:51 +01:00
hans.dembinski@gmail.com
135fc4bcaa
bug-fix in integer_axis, killing trailing white space, adding test for bug
2016-12-15 16:15:00 +01:00
hans.dembinski@gmail.com
1e527ae34e
more tests for multi-dimensional histograms, filling test holes
2016-11-08 15:51:03 +01:00
Hans Dembinski
534e9fe0fc
fixing bug and adding tests
2016-09-15 18:26:58 +02:00