Skip to contents

Computes the mosquito demographic matrix: $$ \Omega = \mbox{diag} \left( g + \sigma \mu \right) - K \cdot \mbox{diag} \left( \sigma \left(1-\mu\right) \right) $$

Usage

F_Omega_xde(g, sigma, mu, K_matrix)

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 nPatches by nPatches

Value

a matrix of dimensions nPatches by nPatches