Commit Graph

47 Commits

Author SHA1 Message Date
Vinzent Steinberg
323028bbf4 Bump version 2019-05-22 17:00:40 +02:00
Vinzent Steinberg
25d894a2f6 Use custom implementation of binomial coefficient
This lets us get rid of the num-integer dependency and makes the
performance of the code generated by `define_moments` close to that of
`Kurtosis`. Before, it was several times slower.

However, the custom implementation is more vulnerable to integer
overflow. In practise, this should not matter, since it does not make
sense to calculate moments of very high order.
2019-05-22 15:51:11 +02:00
Vinzent Steinberg
5b8ace3fb4 Update benchmarks 2019-05-22 14:45:04 +02:00
Vinzent Steinberg
3f82a320f9 Use proptest to test reasonable bounds of mean 2019-04-25 14:53:19 +02:00
Vinzent Steinberg
a4098571fd Bump version 2019-04-25 13:53:21 +02:00
Vinzent Steinberg
547149bfd2 Fix serde support
* Use correct Cargo flags.
* Fix tests.
* Fix histogram serialization.
2019-01-22 14:29:29 +01:00
Vinzent Steinberg
15ff7e9ab4 Bump version 2019-01-18 15:56:30 +01:00
Vinzent Steinberg
dc2d21bea9 Update dependencies 2019-01-18 15:55:37 +01:00
Vinzent Steinberg
f13be77348 Bump version 2018-07-27 15:15:23 +02:00
Vinzent Steinberg
365c127e35 Bump version 2018-07-24 18:58:55 +02:00
Vinzent Steinberg
159af1df99 Bump version 2018-07-24 18:22:00 +02:00
Vinzent Steinberg
a7dde93df8 More idiomatic serde support
* Follow the suggestions from the Serde docs.
* Rename the feature from `serde` to `serde1`.
* Fix a doctest.
* Mention the feature in the README.
2018-07-11 12:54:37 +02:00
Vinzent Steinberg
9a2047a05d Bump version 2018-07-10 18:07:03 +02:00
Vinzent Steinberg
1e7a852862 Improve quantile tests 2018-07-10 16:31:33 +02:00
Vinzent Steinberg
554d4ca596 Use float-ord instead of quickersort
The latter has been deprecated.
2018-07-06 11:01:41 +02:00
Vinzent Steinberg
7f8663c23e Update dependencies 2018-07-06 10:31:26 +02:00
Vinzent Steinberg
a6a477d621 Benchmark generic vs. handwritten implementation of kurtosis
Also restore no_std and remove printing left over from debugging.
2018-01-11 19:37:25 +01:00
Vinzent Steinberg
c1fab4722c Implement incremental calculation of arbitrary moments 2018-01-11 18:29:43 +01:00
Vinzent Steinberg
d9f0b056c6 Bump version 2018-01-10 16:06:13 +01:00
Eh2406
cac986d87e Add test 2017-12-20 16:46:50 -05:00
Eh2406
ad9fba41e7 add serde to travis 2017-12-17 23:31:25 -05:00
Eh2406
046f47a0c2 add a feature = "serde" 2017-12-17 22:11:11 -05:00
Vinzent Steinberg
60410cd118 Add crates.io link to documentation 2017-11-19 20:49:28 +01:00
Vinzent Steinberg
16a751bbe0 Bump version 2017-11-19 11:08:33 +01:00
Vinzent Steinberg
fabe36f6b2 Bump version 2017-06-21 19:42:07 +02:00
Vinzent Steinberg
0eed9d06db Better keywords
"statistics" was already in the description, so it does not need to be a
keyword.
2017-06-21 12:12:22 +02:00
Vinzent Steinberg
6f9a830fc4 Bump version 2017-05-31 00:06:53 +02:00
Vinzent Steinberg
7f9a531fcd Upgrade quickersort
This should restore `no_std` support.
2017-05-31 00:04:55 +02:00
Vinzent Steinberg
40f8d2f968 Build conv without default features
This makes it not require std. We still cannot build without std due to
`sort_floats` requiring it.
2017-05-30 15:20:33 +02:00
Vinzent Steinberg
89349508dd Use less keywords 2017-05-29 01:04:34 +02:00
Vinzent Steinberg
1b66305db7 Bump version 2017-05-29 00:59:21 +02:00
Vinzent Steinberg
80e92f6176 Update documentation 2017-05-29 00:39:33 +02:00
Vinzent Steinberg
8c6c55190e Fix benchmarks
They were forgotten when renaming average to mean.
2017-05-28 21:19:12 +02:00
Vinzent Steinberg
95a2a1d409 Implement quantile 2017-05-25 15:42:53 +02:00
Vinzent Steinberg
12c3fd76d1 Add benchmark for Min 2017-05-24 19:17:52 +02:00
Vinzent Steinberg
6aee190e82 Bump version 2017-05-24 11:34:06 +02:00
Vinzent Steinberg
5c5fdcea55 Bump version 2017-05-22 13:56:58 +02:00
Vinzent Steinberg
efaca98d0c Bump version 2017-05-19 17:54:22 +02:00
Vinzent Steinberg
623c50c936 Bump version 2017-05-05 17:14:32 +02:00
Vinzent Steinberg
a5aa7df51d Make benchmarks work on stable 2017-05-05 16:20:44 +02:00
Vinzent Steinberg
4b38c9c389 Merge branch 'master' of https://github.com/vks/average 2017-05-05 13:22:50 +02:00
Vinzent Steinberg
665ac26333 Add some benchmarks 2017-05-05 13:22:45 +02:00
Vinzent Steinberg
597311ec7f Merge branch 'master' of https://github.com/vks/average
Conflicts:
	Cargo.toml
2017-05-05 13:02:33 +02:00
Vinzent Steinberg
08b53db766 Add statistical test 2017-05-04 11:17:50 +02:00
Vinzent Steinberg
a87d93456b Improve description 2017-04-26 20:47:14 +02:00
Vinzent Steinberg
c0d559a2a2 Docs, no_std, crate metadata 2017-04-26 20:43:00 +02:00
Vinzent Steinberg
7823ebe622 Initial commit 2017-04-26 20:24:20 +02:00