I would like to know the convexity of the function below.
Denote the space of $ n \times n $ real symmetric matrices as $\mathcal{S}^n$, then define $f:\mathcal{S}^n \rightarrow \mathbb{R}$ as $$ f(X) = \left\| EF \exp(X) FE \right\|, $$ where $E,F$ are real symmetric positive definite matrices, $\| \cdot \|$ is the standard F norm, and $\exp$ is the matrix exponential. So, is $f$ convex?
It is trivial in the case of $\mathbb{R}$. But I don't have any clue for the general case. The zero-, first-, and second- order conditions are hard to check. However, I run 100k times on matlab with random inputs $X$ and parameters $E,F$. All hessian of $f$ w.r.t $X$ end up positive definite.
Edit
- In my initial question, I view $A=EF$ as an arbitrary invertible matrix. Thanks for the counter examples by @user1551. I realized that my way of thinking is wrong.