Ticket #905 (closed: fixed)

Opened 11 years ago

Last modified 5 years ago

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

comment:1 Changed 11 years ago by Anders Markvardsen

(In [3197]) Simplified interface to function() and functionDeriv(). Refs #905.

comment:2 Changed 11 years ago by Anders Markvardsen

  • Status changed from new to closed
  • Resolution set to fixed

comment:3 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1753

Note: See TracTickets for help on using tickets.