compose(f)

Expands all function compositions in the definition of function f.


See also simplify derivative partial 


Example


g(x)=x*x

g(x)=x*x

f(x)=x*g(x)

f(x)=x*g(x)

compose(f)

f(x) = x^3