I understand that if a hessian is positive semidefinite for all x, the function is convex (though not strictly convex), so the stationary point is a local and global minimum.
However, what if a stationary point does not have a positive semi-definite hessian matrix? Then the point cannot be a local minimizer?
It is quite confusing for me, because what I think is:
If a stationary point does not have a positive semi-definite hessian matrix, then the hessian matrix is negative definite, meaning the point must be a local max.
However, I am not 100% certain about this.