I would like to define a rule that suppress any arguments of a function for visibility. I tried:
rule = f_[x__] -> f
While this works well with individual terms (including derivatives of expressions), products of functions don't work, such as
f[x] R[r] /. rule
which outputs "Times" for some reason?
Head[f[x] R[r]]isTimes. – Alexey Popkov Nov 08 '19 at 11:47f[ g[x] ]? – Kuba Nov 08 '19 at 11:57