NLA-lib Explorer

NLAlib.ShiftedQR.normSqWord

Library · def

The squared modulus \mathrm{fl}(\mathrm{fl}(\mathbf{x}^2) + \mathrm{fl}(y^2)) of the pair (\mathbf{x}, y) of a complex number on the machine M, as NLAlib.Ops.PairScalar.normSq computes it.

NLAlib.ShiftedQR.normSqWord (M : Ops.Machine ℝ) (z : ℂ) : ℝ

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedModuli.