I made the update() and predict() functions alter the belief array in place rather than returning the value in a new array. I find this far more readable and less error prone.
I made the update() and predict() functions alter the belief array in place rather than returning the value in a new array. I find this far more readable and less error prone.