NLA-lib Explorer

NLAlib.reduceLastStep

Library · def

This statement changed in the recorded rename: 2026-11-schur.

One step of the bottom-up reduction at the row r and the columns c, c + 1, recording its rotation: the pair (\mathbf{A}_{r, c+1}, -\mathbf{A}_{r, c}) into Uv, the entry (c, \mathbf{A}_{r,c+1}, -\mathbf{A}_{r,c}) as entry i of slot j of the slotted log Lg of slot width w (NLAlib.slottedLogWrite), its rounded Givens coefficients into Cf (NLAlib.coefficients), then the rotation of the columns c, c + 1 and of the rows c, c + 1 of A in place. The interface is [N, r, c, w, j, i] (A) → (A, Cf, Uv, Lg). Algorithm: hessenberg-reduction

NLAlib.reduceLastStep {O Q : Type} [Ops.Has Ops.ScalarOp O] [Ops.Has Ops.IndexOp O]
  [Ops.Has Ops.CmpTst Q] : Ops.Stmt O Q

Full source on GitHub

Import NLAlib.Eigensolvers.HessenbergReduction.