I\'m working on a project that requires the calculation of a Jacobian and Hessian matrix of a complex function. To generate the correct mathematical expression, I use symbol