How to algorithmically decide the convexity of a smooth function?

127 Views Asked by At

Given a smooth function $f$ and an $n$-tuple $(c_1, c_2, c_3, \dots, c_n)$ such that $0 < x_i < c_i$, how to decide if $f$ is convex?

We don't know the exact form of $f$. Is there any algorithm that could help decide $f$'s convexity?