User:Meekohi/Sandbox

$$ \sum(S_{k+i} - T_i)^2 = \sum(S_{k+i}^2 - 2S_{k+i}T_i + T_i^2) $$

$$ (S^2 * 1_{|T|}) - 2 (S * \overset{\curvearrowright}{T}) $$

$$ \mathcal{F}^{-1} ( \mathcal{F}(S^2) \cdot \mathcal{F}(1_{|T|})) + \mathcal{F}^{-1} ( \mathcal{F}(S) \cdot \mathcal{F}( \overset{\curvearrowright}{T} )) $$