Hi all,

I am building some optimisation tools, and in this context, I was wondering if it was possible to get back the name of a function given as argument of another function.

More specifically, consider the function 'fun' defined as

deff('[f,g] = fun(x)','f = x^2;g = 2*x');

and an optimisation routine "minimize" which first argument is a function.

Is there a way to get back the name of the function "fun" when calling "minimize(fun)" ?

I would like to get back its name to wrap it inside another function which includes calls towards numerical derivatives, if needed.

Best regards,

Pierre Vuillemin










_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to