NLA-lib Explorer

NLAlib.re_det_conjTranspose_mul_self_fromCols

Library · theorem

The Gram determinant after appending a column: the squared volume is multiplied by the squared distance of the new column \mathbf{v} to the range of \mathbf{C}, \|(\mathbf{I} - \mathbf{P}_{\mathbf{C}})\mathbf{v}\|^2, so that for \mathbf{B} = \begin{\mathbf{b}matri\mathbf{x}} \mathbf{C} & \mathbf{v} \end{\mathbf{b}matri\mathbf{x}} \det(\mathbf{B}^{\mathsf{H}}\mathbf{B}) = \det(\mathbf{C}^{\mathsf{H}}\mathbf{C}) \|(\mathbf{I} - \mathbf{P}_{\mathbf{C}})\mathbf{v}\|^2\,.

NLAlib.re_det_conjTranspose_mul_self_fromCols.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜]
  {m : Type u_2} {p : Type u_3} [Fintype m] [Fintype p] [DecidableEq m] [DecidableEq p]
  (C : Matrix m p 𝕜) (v : m → 𝕜) :
  RCLike.re ((C.fromCols (replicateCol Unit v))ᴴ * C.fromCols (replicateCol Unit v)).det =
    RCLike.re (Cᴴ * C).det * ‖WithLp.toLp 2 ((1 - rangeProjector C) *ᵥ v)‖ ^ 2

Full source on GitHub

Import NLAlib.Matrix.Factorizations.ColumnVolume.