[Maxima] Passing functions as parameters
robert.dodier at gmail.com
Thu Jul 5 20:20:43 CDT 2012
On 2012-07-05, Jorge Calvo <Jorge.Calvo at avemaria.edu> wrote:
> I am trying to define a function which would take the name of another
> function as a parameter and use it somehow.
> However, if f(x) is defined globally, then my testfun uses the global
> function and not the one indicated by the parameter:
Maxima's treatment of array and function names has always driven me
crazy. It ought to be consistent; either always using the value, or
never. I vote for always.
> I have fixed this by using apply instead:
Yes, that's a suitable solution.
More information about the Maxima