NLAlib.hessenbergReduceQ
Library · def
The bottom-up Hessenberg reduction with the accumulated unitary: open a slotted log of N slots of N - 1 entries (NLAlib.slottedLogOpen), reduce A recording the rotations (NLAlib.hessenbergReduceLast), then replay them on the columns of U (NLAlib.givensReplayColumns), so that U becomes \mathbf{U}\mathbf{V} up to rounding with \mathbf{V} the unitary of the reduction. The interface is [N] (A, U) → (A, U); the log is scoped. Algorithm: hessenberg-reduction
NLAlib.hessenbergReduceQ {O Q : Type} [Ops.Has Ops.ScalarOp O] [Ops.Has Ops.IndexOp O]
[Ops.Has Ops.CmpTst Q] [Ops.Has Ops.IdxTst Q] : Ops.Stmt O QImport NLAlib.Eigensolvers.HessenbergAccumulate.