Dear all,
consider an InterpolatingFunction depending on more than on variable:
ClearAll["Global`*"]
data = RandomReal[{-1, 1}, {10, 10}];
func = ListInterpolation[data, {{0, 1}, {0, 1}}];
A regular function call would then be:
func[x, y]
(* Out: InterpolatingFunction[{{0.`,1.`},{0.`,1.`}},"<>"][x,y] *)
But if I try a List as argument (I definitely expected no further evaluation!), I get:
func[{x, y}]
(* Out: {InterpolatingFunction[{{0.`,1.`},{0.`,1.`}},"<>"][x], InterpolatingFunction[{{0.`,1.`},{0.`,1.`}},"<>"][y]} *)
so, InterpolatingFunction seems to have the attribute Listable, which one does not find when calling
Attributes[InterpolatingFunction]
(* Out: {Protected,ReadProtected} *)
Can anybody give me a hint on where I am missing the point? (On a somewhat larger piece of code it took me quite a while tracking that effect down …)
Best regards – Henrik