is there any way to use the Apply[]
function to a sum of objects? By this I mean the following. We know that using Apply[]
(@@
) to an objects gives:
f@@{a}
f[a]
I'm wondering if there's a way of doing something like
(f+g)@@{a}
f[a]+g[a]
Does anyone knows anything about it? Thanks!
Through[Sequence@@@(f + g)@{a}]
orThrough[(f + g)[a]]
? (orSequence@@@(f + g)@{a}//Through
) $\endgroup$#@a & /@ (f + g)
$\endgroup$Through[(f + g)[a]]
orThrough[(f + g) @@ {a}]
$\endgroup$