Hello,
I'm trying to replace the complex coefficients with their real parts in a rational function. So, these coefficients are nested sort of deep in the function. So if the function is, say, dtf, then I'd say something like
Map[Re[#]&,dtf, { {1}, {2,1,1}, {2,1,2,1}, ..., {2,1,8,1} } ]
But Mathematica says that the statement is in error because the level spec does not conform to the standard level specifications. Those only go to {n1,n2}. So, How does one accomplish a mapping for a deeply nested structure? Thanks.