Hessian matrix of a scalar function
This functionality does not run in MATLAB.
hessian(f, x) computes the Hesse matrix (the Hessian) of the scalar function in Cartesian coordinates, i.e., the square matrix of second partial derivatives of .
The Hessian of the function f(x, y, z) = x y + 2 x z is the following matrix:
delete x, y, z: hessian(x*y + 2*z*x, [x, y, z])
Matrix of the domain Dom::Matrix().