Centroid of a finite real source
DefinitionDerivativeChainContinuation_RealTransportGeneralcontinuation-20261026derivative-chainsreal-transport
For , define
Subtracting this centroid produces the centered source used in the variance-normalized transport estimate.
Definition code
import Mathlib
import Definitions.Def_DerivativeChainPrivate_foundations
set_option autoImplicit false
set_option backward.isDefEq.respectTransparency false
namespace DerivativeChainContinuation
open Polynomial
open scoped BigOperators
noncomputable def realCentroid {n : ℕ} (a : Fin (n+1) → ℝ) : ℝ :=
(∑ i,a i)/(n+1 : ℝ)
end DerivativeChainContinuation
Source