c1a0fd14ff
renamed
2019-12-02 12:53:18 +01:00
Vinzent Steinberg
610f6cae6a
Clean up doctests
...
Also make sure that the macros work when they are imported in isolation.
2019-07-08 17:32:43 +02:00
Vinzent Steinberg
c9829a1279
Clean up tests
2019-07-08 17:32:42 +02:00
Vinzent Steinberg
c10616c46e
Improve concatenate!
to support usage outside braces
...
Fixes #12 .
2019-04-25 13:51:33 +02:00
Vinzent Steinberg
e4345f5046
impl FromIterator<&f64> and FromIterator<&(f64, f64)>
...
This allows to write
let k: Kurtosis = a.iter().collect();
instead of
let k: Kurtosis = a.iter().map(|x| *x).collect();
but breaks type inference for code like
let m: Min = (1..6).map(Into::into).collect();
where
let m: Min = (1..6).map(f64::from).collect();
has to be used instead.
Fixes #8 .
2018-02-28 23:44:40 +01:00
Vinzent Steinberg
5d6d67bac9
Move add
and merge
to trait
...
This should make it possible to write more generic code.
2017-06-25 15:39:12 +02:00
Vinzent Steinberg
9313307ae9
Reduce code duplication by using a macro
2017-06-23 16:47:11 +02:00
Vinzent Steinberg
2012479430
Document what is implemented by concatenate
2017-06-21 19:41:25 +02:00
Vinzent Steinberg
9b055e4c0b
Make sure concatenate
inlines
2017-06-21 19:35:17 +02:00
Vinzent Steinberg
f698e4dc50
Improve concatenate
to support several statistics from one estimator
2017-06-21 19:29:25 +02:00
Vinzent Steinberg
01157da831
Macro for concatenating iterative estimators
2017-06-21 18:05:54 +02:00
Vinzent Steinberg
068381f366
Refactor code into more files
2017-05-05 17:42:21 +02:00