NLAlib.IsSVD.polarFactor_eq
Library ยท theorem
The polar factor through an SVD: for an SVD \mathbf{A} = \mathbf{U}\mathbf{\Sigma}\mathbf{V}^{\mathsf{H}} (IsSVD), the polar factor is \mathbf{U}\mathbf{E}\mathbf{V}^{\mathsf{H}} with \mathbf{E} the diagonal matrix with entry 1 where the singular value is nonzero and 0 where it is zero.
NLAlib.IsSVD.polarFactor_eq.{u_1, u_3, u_4, u_5} {๐ : Type u_1} [RCLike ๐] {m : Type u_3}
{n : Type u_4} {r : Type u_5} [Fintype m] [Fintype n] [Fintype r] [DecidableEq n] [DecidableEq r]
{A : Matrix m n ๐} {U : Matrix m r ๐} {ฯ : r โ โ} {V : Matrix n r ๐} (h : IsSVD A U ฯ V) :
polarFactor A = (U * diagonal fun i โฆ if ฯ i = 0 then 0 else 1) * VแดดImport NLAlib.Matrix.Factorizations.Polar.