NLAlib.tangentMatrix
Library · def
The tangent matrix of a basis \mathbf{Y} relative to a frame \mathbf{U} with the same number of columns: (\mathbf{I} - \mathbf{U}\mathbf{U}^{\mathsf{H}})\mathbf{Y}(\mathbf{U}^{\mathsf{H}}\mathbf{Y})^{-1}. When \mathbf{U} has orthonormal columns and \mathbf{U}^{\mathsf{H}}\mathbf{Y} is invertible, its singular values are the tangents of the principal angles between the two column spaces, and it depends only on the column space of \mathbf{Y}. It is \mathbf{0} when \mathbf{U}^{\mathsf{H}}\mathbf{Y} is singular. [GolubVanLoan2013, §8.2.4]; [Saad2011, §5.2].
NLAlib.tangentMatrix.{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 𝕜) : Matrix n p 𝕜Import NLAlib.Matrix.Subspaces.Tangent.