Homer500
12-13-2005, 02:41 PM
Hi everyone,
I have a simple question about calling the downhill simplex routine amoeba. If my objective function is called obj, how do I pass this to amoeba? I see in the amoeba declaration, the format is
float (*funk)(float[])
Do I need to declare a pointer to obj and use this pointer when I call amoeba? What is the format?
Thanks for any help,
Daryl
I have a simple question about calling the downhill simplex routine amoeba. If my objective function is called obj, how do I pass this to amoeba? I see in the amoeba declaration, the format is
float (*funk)(float[])
Do I need to declare a pointer to obj and use this pointer when I call amoeba? What is the format?
Thanks for any help,
Daryl