Author: bugman Date: Wed Jan 23 10:49:15 2013 New Revision: 18263 URL: http://svn.gna.org/viewcvs/relax?rev=18263&view=rev Log: 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. Modified: trunk/maths_fns/n_state_model.py [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/maths_fns/n_state_model.py URL: http://svn.gna.org/viewcvs/relax/trunk/maths_fns/n_state_model.py?rev=18263&r1=18262&r2=18263&view=diff