This works
Through[{#*2 &, #*8 &}[a]]
{2 a, 8 a}
But if I want to generalize to a 2 dimensional array of functions like this
Through[{{#*2 &, #*8 &}, {#*3 &, #*5 &}}[a]]
It doesn't work. I've tried to add a third argument to Through
such as 1
or 2
or {1,1}
and this doesn't help. To be clear, I know how to work around this, but I just don't understand why it isn't easy to generalize through
to a general array of functions.
Through[#[a]] & /@ {{#*2 &, #*8 &}, {#*3 &, #*5 &}}
$\endgroup${{#*2, #*8}, {#*3, #*5}} &[a]
? In other words, apply one function with the required structure? $\endgroup$