First time here? Check out the FAQ!
answered 5 years ago
The matrix you constructed by hand doesn't look like a Hessian to me. Here is the Hessian:
sage: H = L.function(x,y,l).hessian()(x,y,l) sage: H
(A(α−1)αxα−2yβAαβxα−1yβ−1−pxAαβxα−1yβ−1A(β−1)βxαyβ−2−py−px−py0)