27 Mar
2008
27 Mar
'08
12:43 p.m.
Daniel Russel wrote: > Reading the patch, I still don't see how to invoke general derivative > test code for a unary function (and it doesn't appear to happen > automatically either). So I don't understand your comment.
The existing checks are for analytic derivatives. If you also want to check numerical derivatives, that would certainly make sense. But to do this properly requires something like dfridr from Numerical Recipes. I have not done this so far because the NR license prohibits us from including this code directly in IMP.
Ben
--
ben@salilab.org http://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
- Sir Arthur Conan Doyle