Quantcast
Channel: Applying several functions to the same argument - Mathematica Stack Exchange
Viewing all articles
Browse latest Browse all 7

Answer by mikado for Applying several functions to the same argument

$
0
0

I think that in Version 14, you would be able to write

fn = Comap[{f1, f2}]@*(Exponent[#, Variables[expr]] &)

With this definition, you would the have

expr = a + b + c(* a + b + c *)fn[expr](* Comap[{f1, f2}][{1, 1, 1}] *)

which I think would be what you wanted (if Comap were defined).

I haven't tested this, as I haven't installed version 14 yet.


Viewing all articles
Browse latest Browse all 7

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>