Computes the mosquito demographic matrix: $$ \Omega = \mbox{diag} \left( g + \sigma \mu \right) - K \cdot \mbox{diag} \left( \sigma \left(1-\mu\right) \right) $$
Arguments
- g
mosquito death rate, a vector of length
nPatches- sigma
mosquito emigration rate, a vector of length
nPatches- mu
emigration loss, a vector of length
nPatches- K_matrix
a matrix of dimensions
nPatchesbynPatches
Value
a matrix of dimensions nPatches by nPatches