covid19ABM / comma

An agent-based microsimulation model to study mental health outcomes during covid-19 lockdowns
https://covid19abm.github.io/comma/
Apache License 2.0
2 stars 1 forks source link

(optional) speed-up matrix multiplication in take_actions and choose_actions_based_on_lockdown #64

Closed n400peanuts closed 9 months ago

n400peanuts commented 1 year ago

At the moment each matrix multiplication takes one row (representing an individual) and a time and multiplies with the actions, I wish to change this structure to multiply all rows with the actions at the same time. This will improve the speed of the simulation for many steps