Frobenius inner product (source code)

= Frobenius inner product
{c}
{title2=$\langle A,B\rangle_F=\operatorname{tr}(A^*B)$}

= Trace inner product
{synonym}

For complex <matrices>, the <inner product> $\langle A,B\rangle_F=\operatorname{tr}(A^*B)$ is conjugate-linear in its first argument. On real <symmetric matrices> it becomes $\operatorname{tr}(AB)$. In particular $\langle A,xx^T\rangle_F=x^TAx$, identifying <quadratic forms> with linear tests on <matrices>.