NLAlib.trace_hermitianPart
Library · theorem
The trace of the Hermitian part is the real part of the trace: \operatorname{tr} \tfrac{1}{2}(\mathbf{A} + \mathbf{A}^{\mathsf{H}}) = \operatorname{Re} \operatorname{tr} \mathbf{A}. O\mathbf{v}er \mathbb{R} it says that the trace sees only the symmetric part (simpa using trace_hermitianPart A).
NLAlib.trace_hermitianPart.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n]
(A : Matrix n n 𝕜) : (hermitianPart A).trace = ↑(RCLike.re A.trace)Import NLAlib.Matrix.Spectral.HermitianPart.