A library of published compartmental epidemic models, and classes to represent demographic structure, non-pharmaceutical interventions, and vaccination regimes, to compose epidemic scenarios.
Not sure how much this improves performance but there were some opportunities to vectorise this (at expense of more memory usage). Have also preallocated one of the outputs - not sure if that will help or not.
Not sure how much this improves performance but there were some opportunities to vectorise this (at expense of more memory usage). Have also preallocated one of the outputs - not sure if that will help or not.