[!note] Hessian
The Hessian of a scalar-valued function is the square matrix of second-order partial derivatives of with respect to the components of its input vector . It characterizes the local curvature of at a given point and is defined as
The Hessian indicates the directions and magnitudes of curvature, determining whether curves upward, downward, or remains flat near .