evidation-health / ContinuousTimeMarkovModel

Continuous-time Markov model with discrete observations
MIT License
23 stars 23 forks source link

refactor astep method in forwardX.py #10

Closed pourzanj closed 9 years ago

pourzanj commented 9 years ago

refactor with Cython for better speed.

-make more functional -use unit tests on these functions

pourzanj commented 9 years ago

Unit tests have been written.astep is now more functional. Cython scrapped since it's complicated to implement slicing in Cython and doesn't help much.