[][src]Function changepoint::constant_hazard

pub fn constant_hazard(lambda: f64) -> impl Fn(usize) -> f64

A constant hazard function. This is the hazard function that corresponds to a geometric distribution with timescale λ.