pub fn variable_poisson<F>(tmax: f64, lambda: &F, max_lambda: f64) -> Array2<f64>where
    F: Fn(f64) -> f64 + Send + Sync,
Expand description

Simulate a Poisson process with variable intensity.