Skip to main content

leslie

Function leslie 

Source
pub fn leslie(f: &[f64], s: &[f64]) -> Result<Array2<f64>>
Expand description

The Leslie matrix of a population model (SciPy’s leslie): fecundities f (length n) on the first row, survival rates s (length n − 1) on the subdiagonal.