I want to use the code for computing Jacobian by sympy
given in this answer.
But I want to give the variable and function lists as follows;
v_list=[x,y,z]
f_list=[f1,f2,f3]
However, the sympy
commands there need v_list
and f_list
to be given as following;
v_list='x y z'
f_list=['f1','f2','f3']
Is there a way to write a python code that automatically convert v_list
and f_list
from the first shape that I gave to the shape suitable for the sympy
command in that Jacobian function?