Compute the p
by p
matrix \(\mathcal{D}\) whose columns describe
how potentially infectious person time from persons in that patch are dispersed
across other patches.
$$\mathcal{D} = \mbox{diag}\left(W \right) \cdot \beta^T \cdot \mbox{diag}\left(bDH\right) \cdot \beta$$
metric_calD(W, beta, b, D, H)
ambient human population at each patch
the biting distribution matrix
transmission efficiency from mosquitoes to humans
human transmitting capacity
human population size of each strata
a numeric matrix