NLAlib.householderVector
Library ยท def
The Householder vector of \mathbf{x} at the coordinate i_0: \mathbf{x} + \omega \|\mathbf{x}\| \mathbf{e}_{i_0}, with the phase \omega = \mathbf{x}_{i_0} / \lvert \mathbf{x}_{i_0} \rvert, and \omega = 1 when \mathbf{x}_{i_0} = 0. The sign avoids cancellation. [GolubVanLoan2013, ยง5.1.3].
NLAlib.householderVector.{u_1, u_2} {๐ : Type u_1} [RCLike ๐] {m : Type u_2} [Fintype m]
[DecidableEq m] (x : m โ ๐) (iโ : m) : m โ ๐Import NLAlib.Matrix.Factorizations.Householder.