NLA-lib Explorer

NLAlib.Krylov.Lanczos.normalizeSpec

Library · def

Exact self-dot input and initially zero outputs give the normalized vector and its norm, including the total zero-input case.

NLAlib.Krylov.Lanczos.normalizeSpec {K : Type} [Inhabited K] (dec : K → ℝ) (n : ℕ) :
  Ops.Routine.Spec K

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Normalization.