The curvature of a function of two variables, f(x1, x2) is the product of all partial second derivatives with respect to like variables (e.g. ∂2f/∂x12), minus the product of all second partial derivatives with respect to different variables (e.g. ∂2f/∂x1∂x2).
For two variables, this is (∂2f/∂x12)(∂2f/∂x22) - (∂2f/∂x1∂x2)2 (because ∂2f/∂x1∂x2 = ∂2f/∂x2∂x1).
In Eindhoven notation, this is (* : 0 ≤ i ≤ n : ∂2f/∂xi2) - (* : 0 ≤ i ≤ n ∧ 0 ≤ j ≤ n ∧ i ≠ j : ∂2f/∂xi∂xj).
A zero curvature corresponds to a flat surface, positive curvature means it looks a bit like the surface of a sphere, and negative curvature looks like a saddle.