Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify interface for curve fitting algorithms #1753

Closed
Anders-Markvardsen opened this issue Sep 24, 2009 · 1 comment
Closed

Simplify interface for curve fitting algorithms #1753

Anders-Markvardsen opened this issue Sep 24, 2009 · 1 comment
Assignees
Milestone

Comments

@Anders-Markvardsen
Copy link
Member

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().

@Anders-Markvardsen
Copy link
Member Author

This issue was originally trac ticket 905

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant