NLA-lib Explorer

NLAlib.Ops.Examples.Integrator.norm_toLp_abs

Library · theorem

Taking absolute values entrywise keeps the Euclidean norm.

NLAlib.Ops.Examples.Integrator.norm_toLp_abs {n : ℕ} (u : Fin n → ℝ) :
  ‖WithLp.toLp 2 fun i ↦ |u i|‖ = ‖WithLp.toLp 2 u‖

Full source on GitHub

Import NLAlib.Ops.Examples.Integrator.