Menu

Commit [r25249]  Maximize  Restore  History

Implementation of the target_functions.relax_fit.jacobian() function.

This follows from the discussions at http://thread.gmane.org/gmane.science.nmr.relax.devel/6807.

The function will calculate the Jacobian matrix for the exponential curve-fitting module. The
Jacobian can be used to directly calculate the covariance matrix, for example as described at
https://www.gnu.org/software/gsl/manual/html_node/Computing-the-covariance-matrix-of-best-fit-parameters.html.
The Jacobian is calculated using the help of the new exponential_dI() and exponential_dR() functions
in the target_functions/exponential.c file. These calculate the partial derivatives of the
exponential curve with respect to each model parameter separately.

The implementation still needs testing and debugging.

bugman 2014-08-25

changed /trunk/target_functions/exponential.c
changed /trunk/target_functions/exponential.h
changed /trunk/target_functions/relax_fit.c
changed /trunk/target_functions/relax_fit.h
/trunk/target_functions/exponential.c Diff Switch to side-by-side view
Loading...
/trunk/target_functions/exponential.h Diff Switch to side-by-side view
Loading...
/trunk/target_functions/relax_fit.c Diff Switch to side-by-side view
Loading...
/trunk/target_functions/relax_fit.h 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.