Am learning about Fréchet differentials and was wondering if for a real matrix $X$ and positive semidefinite real matrices $A,B$ the function $f(X)=TrX^TAX-X^TBX$ is twice Fréchet differentiable or not?
I believe that the gradient is $2AX-2BX$ but how do I prove Fréchet differentiability?