Documentation

Atlas.HighDimensionalStatistics.code.Chapter3.Ex_3_8

noncomputable def Chapter3.trigBasis (j : ) (x : ) :

Trigonometric basis of L₂([0,1]). φ₁ ≡ 1, φ_{2k}(x) = √2 cos(2πkx), φ_{2k+1}(x) = √2 sin(2πkx) for k ≥ 1. Index j = 0 is unused (returns 0).

Instances For
    noncomputable def Chapter3.fourierCoeff (f : ) (j : ) :

    Fourier coefficient: θ_j* = ∫₀¹ f(x) φ_j(x) dx

    Instances For
      theorem Chapter3.trigBasis_one (x : ) :
      trigBasis 1 x = 1

      The first basis function is the constant 1.

      Every trigonometric basis function is bounded by √2 in absolute value.