NLA-lib Explorer

NLAlib.SmallEig.rotateToStepWord

Library · def

One rotation of NLAlib.SmallEig.rhess on a machine: the rounded coefficients of (\bar g_{j+1}, -\bar g_j), the rounded rotation of the entries j, j + 1 of \mathbf{g}, and of the rows, then the columns, j, j + 1 of \mathbf{A}; the identity when j + 1 \ge N.

NLAlib.SmallEig.rotateToStepWord (M : Ops.Machine ℝ) {N : ℕ} (j : ℕ)
  (Ag : Matrix (Fin N) (Fin N) ℂ × (Fin N → ℂ)) : Matrix (Fin N) (Fin N) ℂ × (Fin N → ℂ)

Full source on GitHub

Import NLAlib.Eigensolvers.SmallEig.RandomHessenbergRotations.