pub fn leslie(f: &[f64], s: &[f64]) -> Result<Array2<f64>>
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.
leslie
f
n
s
n − 1