NLA-lib Explorer

NLAlib.tangentMatrix_def

Library · theorem

The tangent matrix unfolded: tangentMatrix U Y is (\mathbf{I} - \mathbf{U}\mathbf{U}^{\mathsf{H}})\mathbf{Y}(\mathbf{U}^{\mathsf{H}}\mathbf{Y})^{-1}.

NLAlib.tangentMatrix_def.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} {p : Type u_3}
  [Fintype n] [Fintype p] [DecidableEq n] [DecidableEq p] (U Y : Matrix n p 𝕜) :
  tangentMatrix U Y = (1 - U * Uᴴ) * Y * (Uᴴ * Y)⁻¹

Full source on GitHub

Import NLAlib.Matrix.Subspaces.Tangent.