NLA-lib Explorer

NLAlib.singularValues

Library ยท def

The singular values \sigma_k(\mathbf{A}) of a matrix, in non-increasing order, indexed from 0 and padded with zeros: \sigma_k(\mathbf{A}) = 0 for k \ge \operatorname{rank} \mathbf{A}. This is Mathlib's LinearMap.singularValues of the map \mathbf{x} \mapsto \mathbf{A}\mathbf{x} from EuclideanSpace ๐•œ n to EuclideanSpace ๐•œ m, as a function. [HornJohnson2013, ยง2.6].

NLAlib.singularValues.{u_1, u_3, u_4} {๐•œ : Type u_1} [RCLike ๐•œ] {m : Type u_3} {n : Type u_4}
  [Fintype m] [Fintype n] (A : Matrix m n ๐•œ) : โ„• โ†’ โ„

Full source on GitHub

Import NLAlib.Matrix.Spectral.SingularValues.