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§
Source§impl Continuous for Cauchy
impl Continuous for Cauchy
Source§impl Distribution for Cauchy
impl Distribution for Cauchy
impl Copy for Cauchy
Auto Trait Implementations§
impl Freeze for Cauchy
impl RefUnwindSafe for Cauchy
impl Send for Cauchy
impl Sync for Cauchy
impl Unpin for Cauchy
impl UnwindSafe for Cauchy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more