Matrix.IsHermitian.frobNorm_sub_eq_frobNorm_sub_hermitianPart_iff
Library ยท theorem
For any matrix \mathbf{A} and Hermitian \mathbf{X}, the Frobenius distance to \mathbf{X} equals that to \mathbf{H}=(\mathbf{A}+\mathbf{A}^{\mathsf{H}})/2 exactly when \mathbf{X}=\mathbf{H}. Thus the Hermitian-part approximation has a unique minimizer. [Higham1988, proof of Theorem 2.1]; generalized from real matrices to either scalar field.
Matrix.IsHermitian.frobNorm_sub_eq_frobNorm_sub_hermitianPart_iff.{u_1, u_2} {๐ : Type u_1}
[RCLike ๐] {n : Type u_2} [Fintype n] {X : Matrix n n ๐} (hX : X.IsHermitian) (A : Matrix n n ๐) :
frobNorm (A - X) = frobNorm (A - hermitianPart A) โ X = hermitianPart AImport NLAlib.Matrix.Spectral.HermitianPart.