NLA-lib Explorer

NLAlib.SmallEig.identityLeaf

Library · def

The order-one Schur leaf: a block of order d \le 1 is already upper triangular, so it is kept and its accumulator Ub is the identity of order d (column-major pairs). The interface is [d, np, T] (Bk, P) → (Bk, Ub), that of the Schur leaf routine of NLAlib.ShiftedQR.solveRoundedWith; the block, the words and the cap are not read. At any order it writes the identity. Algorithm: small-eig

NLAlib.SmallEig.identityLeaf {O Q : Type} [Ops.Has Ops.ScalarOp O] : Ops.Stmt O Q

Full source on GitHub

Import NLAlib.Eigensolvers.SmallEig.Leaf.