Suppose I have a list like:
list1 = {{f[x], Sin[x]}, {f'[x]}, {f''[x]}};
list2 = {{f[x]}, {Cos[x], f''[x]}};
I want to pick these lists and convert them to:
list1 = {{f[x], Framed[Sin[x]]}, {f'[x]}, {f''[x]}};
list2 = {{f[x]}, {Framed[Cos[x]], f''[x]}};
i.e. apply a listable function in these lists that return the list with a function such as Framed[x]
applied in whatever functions are not f
and its derivatives.
[Prime]
, etc. $\endgroup$