This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Multidimensional minimization in c++
- To: gsl-discuss <gsl-discuss at sources dot redhat dot com>
- Subject: Multidimensional minimization in c++
- From: Tom Mortimer-Jones <tmj at tc dot bham dot ac dot uk>
- Date: Tue, 04 Sep 2001 22:55:22 +0100
Has anyone used the multidimensional minimization routines in gsl within
a c++ class?
I would like to include minimization within a class, acting on data
contained within the class, but the gsl_multimin_function_fdf requires
function (method) addresses which have to be static and static methods
cannot work on the non static data within my class instances. Has anyone
found a way to work around this problem or am I doing something wrong?
Thanks for your time,
Tom.
--
Tom Mortimer-Jones,
School of Chemical Sciences,
University of Birmingham.