generally the "f" for minimization needs to be in the form f(double x,
PARAMS)

where PARAMS is a list of parameters, but I would like to pass a
vector<double> or vector<MyClass> to this function.  I've been doing it by
making my vector's global - but this seems like a terrible idea.  Any
suggestions on how to do this?


-- 
Thanks,

David
_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to