Crates.io | approx_pearson_skew |
lib.rs | approx_pearson_skew |
version | 0.1.0 |
source | src |
created_at | 2021-04-18 21:01:37.25385 |
updated_at | 2021-04-18 21:01:37.25385 |
description | Pearson second skew coefficient, using micromath square root approximation |
homepage | |
repository | https://github.com/hazelutf8/approx_pearson_skew |
max_upload_size | |
id | 386347 |
size | 17,320 |
A rust library to calculate the approximate Pearson Median Skew of a slice.
The median algorithm used is a O(1) size but O(nk) time complexity with worst case O(n^2), due to the immutable slice input restriction.
Usable on no_std
due to use of approximate square root from micromath.
Add this to your Cargo.toml
[dependencies]
approx_pearson_skew = "0.1.0"
$ cargo build --example stdin_skew
$ echo 1234 | ./target/debug/examples/stdin_skew