Central moments by LukeMathWalker · Pull Request #23 · rust-ndarray/ndarray-stats

added 12 commits

January 15, 2019 06:58

@LukeMathWalker

@LukeMathWalker

@LukeMathWalker

@jturner314

@jturner314

In reality, this probably isn't necessary because I'd expect someone
to terminate their program when trying to calculate a moment of order
greater than `i32::MAX` (because it would take so long), but it's nice
to have an explicit check anyway.

@jturner314

`A: Float` requires `A: Copy`.
I think this is a bit easier to understand at first glance.

@jturner314

@jturner314

jturner314

@LukeMathWalker

Miscellaneous small improvements to central moments

@LukeMathWalker

@LukeMathWalker

@LukeMathWalker

@LukeMathWalker

@LukeMathWalker

jturner314

@LukeMathWalker

@LukeMathWalker

jturner314