On Sun, 22 Sep 2002, Richard Fateman wrote:
> I'm not sure what you are trying to accomplish with f(x) definition,
> but it is possible to do this:
Excuse me, I didn't tell: I've a function (rational interpolation) that
accepts a function as its argument, but in my application I only want to
feed it with the values on the interpolation points... (not shure whether
this is good english)
> f[x]:=some_function(x)
> f[2]: some_special_value
> f[3]: some_other_value.
>
> If you want round brackets, then you can do something like
> ff(x):=f[x]
well, this is just what I do with
f(x):=Block([],local(f),Map(lambda([x,y],f[x]:y),[2,3],[3,5]),f[x]);
isn't it?
Martin