statrs-dev / statrs

Statistical computation library for Rust
https://docs.rs/statrs/latest/statrs/
MIT License
544 stars 78 forks source link

Refactor overlap with `rand_distr` to extend/mirror their implementation #236

Open YeungOnion opened 1 month ago

YeungOnion commented 1 month ago

There's quite a bit of overlap with rand_distr for distributions we both implement:

Perhaps we can lean into this a little bit to establish some more consistency. Do we need a crate level error, and would relying on thiserror for transparent errors work?