NLA-lib Explorer

NLAlib.householder

Library ยท def

The Householder reflector of \mathbf{v}: \mathbf{I} - (2 / \|\mathbf{v}\|^2) \mathbf{v}\mathbf{v}^{\mathsf{H}}. For \mathbf{v} = \mathbf{0} it is the identity. [GolubVanLoan2013, ยง5.1.2]; [TrefethenBau1997, Lecture 10].

NLAlib.householder.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {m : Type u_2} [Fintype m] [DecidableEq m]
  (v : m โ†’ ๐•œ) : Matrix m m ๐•œ

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Householder.