NLA-lib Explorer

NLAlib.Schur.frobNormStage_frobNormEstimateContract

Library · theorem

Standard rounding

The rounded Frobenius norm is a two-sided norm estimate: on a scalar machine with the standard model at \boldsymbol{u} and (2N_{\max}^2 + 2)\boldsymbol{u} \le 1/2, NLAlib.Schur.frobNormStage meets NLAlib.Schur.FrobNormEstimateContract on the orders N \le N_{\max} with c_1 = 1 - (2N_{\max}^2 + 2)\boldsymbol{u} and c_2 = 1 + (2N_{\max}^2 + 2)\boldsymbol{u} (NLAlib.Ops.RoundedScalarBlas.nrm2_writes_stdModel on the 2N^2 words, NLAlib.ShiftedQR.sum_sq_matrixWords).

NLAlib.Schur.frobNormStage_frobNormEstimateContract {O Q : Type} [Ops.Has Ops.ScalarOp O]
  {M : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} {u : ℝ} (hS : Ops.IsScalar M I)
  (hM : Ops.StdModel u id M) {nmax : ℕ} (hu : (2 * ↑nmax ^ 2 + 2) * u ≤ 1 / 2) :
  Schur.FrobNormEstimateContract (1 - (2 * ↑nmax ^ 2 + 2) * u) (1 + (2 * ↑nmax ^ 2 + 2) * u) nmax
    Schur.frobNormStage I

Full source on GitHub

Import NLAlib.Eigensolvers.Schur.NormEstimate.