I have a black-box function of 3-variables : f=f(x,y,z). I would like to define with symbolic the relation of 'f' with 'x','y' and 'z', as the abstract type of mathematics 'f=f(x,y,z)'.
In example, I want to do something like:
syms x y z; _I do not know how to set the symbolic at command line : f=f(x,y,z);
g = x * f + y * f^2 + z; jacobian( g, [x,y,z])
and the expected result will be :
( f + x*(df/dx) + 2*y*f*(df/dx), x*(df/dy) + f^2 + 2*y*f*(df/dy), x*(df/dz) + 2*y*f*(df/dz) + 1)
Thanks.