NLAlib.cfc_max_zero
Library · theorem
Clipping at zero is Mathlib's positive part. This bridge expresses nearest PSD approximation with the existing positive-part notation, including the non-Hermitian junk value.
NLAlib.cfc_max_zero.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n] [DecidableEq n]
(H : Matrix n n 𝕜) : cfc (max 0) H = H⁺Import NLAlib.Matrix.Functions.PositivePart.