pub struct Exp {
pub alpha: f64,
}Expand description
Exponential density.
Suited for super-Gaussian sources with heavy tails.
The log-likelihood is: -exp(-αy²/2) / α
Fields§
§alpha: f64Scaling parameter (default: 1.0).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Exp
impl RefUnwindSafe for Exp
impl Send for Exp
impl Sync for Exp
impl Unpin for Exp
impl UnwindSafe for Exp
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