Struct probability::distribution::Cauchy
source · [−]pub struct Cauchy { /* private fields */ }
Expand description
A Cauchy distribution.
The Cauchy distribution (also known as Lorentz or Cauchy–Lorentz
distribution) is a continuous probability distribution with a location
parameter x_0
, a scale parameter gamma > 0
, and the following
probability density function:
p(x) = 1 / (pi * gamma * (1 + ((x - x_0) / gamma)^2))
.
The distribution is long tailed and has no mean or variance. It is unimodal
with the mode at x_0
, around which it is symmetric.
Implementations
Trait Implementations
sourceimpl Continuous for Cauchy
impl Continuous for Cauchy
sourceimpl Distribution for Cauchy
impl Distribution for Cauchy
impl Copy for Cauchy
Auto Trait Implementations
impl RefUnwindSafe for Cauchy
impl Send for Cauchy
impl Sync for Cauchy
impl Unpin for Cauchy
impl UnwindSafe for Cauchy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more