Menu

Commit [r18263]  Maximize  Restore  History

Major code simplification of the N-state model target functions.

The func_tensor_opt(), dfunc_tensor_opt(), and d2func_tensor_opt() methods have been merged with the
func_population(), dfunc_population(), and d2func_population() methods into the new func_standard(),
dfunc_standard(), and d2func_standard() methods. This halves the amount of code required to be
maintained and debugged. For the merger, the new probs_fixed class instance variable has been
created to determine when the probabilities need to be unpacked from the parameter vector.

bugman 2013-01-23

changed /trunk/maths_fns/n_state_model.py
/trunk/maths_fns/n_state_model.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.