NLA-lib Explorer

NLAlib.ShiftedQR.prod_range_getD_eq_prod_map

Library · theorem

A product over the positions of a list is the product of the mapped list.

NLAlib.ShiftedQR.prod_range_getD_eq_prod_map (zs : List ℂ) (f : ℂ → ℝ) :
  ∏ j ∈ Finset.range zs.length, f (zs.getD j 0) = (List.map f zs).prod

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedRitz.