statrs-dev / statrs

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

Add default implementation of survival functions #179

Closed henryjac closed 2 months ago

henryjac commented 1 year ago

Adds a default implementation of survival functions as $1-cdf(x)$ with generics, which is

T::one() - self.cdf(x)
henryjac commented 4 months ago

See reference: PR 172