NLAlib.IsEigenvalueListing.trace_eq_sum
Library · theorem
The trace is the sum of the listed eigenvalues: \operatorname{tr} \mathbf{A} = \sum_i \mathbf{d}_i.
NLAlib.IsEigenvalueListing.trace_eq_sum.{u_1, u_2, u_4} {K : Type u_1} [Field K] {ι : Type u_2}
{n : Type u_4} [Fintype ι] [Fintype n] [DecidableEq n] {A : Matrix n n K} {d : ι → K}
(h : IsEigenvalueListing A d) : A.trace = ∑ i, d iImport NLAlib.Matrix.Spectral.EigenvalueListing.