Ticket #905 (closed: fixed)
Simplify interface for curve fitting algorithms
Reported by: | Anders Markvardsen | Owned by: | Anders Markvardsen |
---|---|---|---|
Priority: | major | Milestone: | Iteration 20 |
Component: | Keywords: | ||
Cc: | nick.draper@… | Blocked By: | |
Blocking: | Tester: |
Description
Currently any curve fitting algorithm is required to implement in particular:
virtual void function(const double* in, double* out, const double* xValues, const double* yValues, const double* yErrors, const int& nData) = 0;
where yValues and yErrors refer to the data you are fitting against.
function() currently returns differences between observed and calculated data. Change function() to just return calculated data and remove yValues and yErrors from the argument list of this function.
Do the same for functionDeriv().
Change History
Note: See
TracTickets for help on using
tickets.
(In [3197]) Simplified interface to function() and functionDeriv(). Refs #905.