NLAlib.mul_eq_mul_diagonal_iff
Library · theorem
A matrix equation \mathbf{A}\mathbf{V} = \mathbf{V} \operatorname{diag}(\mathbf{d}) says that the columns of \mathbf{V} are eigenvectors: \mathbf{A}\mathbf{v}_j = \mathbf{d}_j \mathbf{v}_j for each column \mathbf{v}_j.
NLAlib.mul_eq_mul_diagonal_iff.{u_1, u_4} {K : Type u_1} [Field K] {n : Type u_4} [Fintype n]
[DecidableEq n] {A V : Matrix n n K} {d : n → K} :
A * V = V * diagonal d ↔ ∀ (j : n), A *ᵥ V.col j = d j • V.col jImport NLAlib.Matrix.Spectral.Diagonalizable.