NLA-lib Explorer

NLAlib.lpGauge_apply_of_ne_top

Library · theorem

This statement changed in the recorded rename: 2026-10-rules.

The \ell^q gauge for finite q: \bigl(\sum_i \lvert \mathbf{x}_i \rvert^q\bigr)^{1/q}, the sum over the support.

NLAlib.lpGauge_apply_of_ne_top {q : ℝ≥0∞} [Fact (1 ≤ q)] (hq' : q ≠ ∞) (x : ℕ →₀ ℝ) :
  (lpGauge q) x = (∑ i ∈ x.support, |x i| ^ q.toReal) ^ q.toReal⁻¹

Full source on GitHub

Import NLAlib.Matrix.Norms.GaugeExamples.