cfahlgren1/math / lean /OAI /Analysis /IrrationalRotation /Model /LaurentConvolution.lean
cfahlgren1's picture
download
raw
624 Bytes
import Mathlib.Algebra.Polynomial.Laurent
import Mathlib.Basic.Complex.Basic
import Mathlib.Algebra.Order.BigOperators.Group.Finset
import Mathlib.Data.Int.Interval
namespace OAI
noncomputable section
namespace Invariant233.FiniteWindow
def laurent (K : ℕ) (a : ℤ → ℂ) : LaurentPolynomial ℂ :=
∑ i ∈ Finset.Icc (-(K : ℤ)) (K : ℤ), AddMonoidAlgebra.single i (a i)
def convolution (K : ℕ) (a b : ℤ → ℂ) (n : ℕ) : ℂ :=
∑ i ∈ (Finset.Icc (-(K : ℤ)) (K : ℤ)).filter (fun i => |(n : ℤ) + i| ≤ (K : ℤ)),
a i * b (-(n : ℤ) - i)
end Invariant233.FiniteWindow
end
end OAI

Xet Storage Details

Size:
624 Bytes
·
Xet hash:
aeef24360e50fded12126707252bb37daade81b19ef5b071d62b32b291087b10

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.