On , show that a linear map commutes with the cyclic shift if and only if is circulant (constant on wrapped diagonals). Relate the first column of to the convolution kernel of Theorem 4.1.
Solution
Let be the cyclic shift, . Commuting with every shift is equivalent to , since the shifts are generated by . Then , so every column is a cyclic shift of the first column . That is the circulant matrix with , which is Theorem 4.1.
Problem 2
Problem 1.2 (N=4 matrices).
Write the matrix of convolution by . Take and . Compute , , , and . Confirm they match.
Solution
, so .
. Then , and . Both paths agree.
Problem 3
Problem 1.3 (Residuals).
Using translation_share.py (or a dozen lines of your own), report the max shift-residual of a shared circulant conv and of a dense map of the same shape, on a small grid. What would you conclude if both residuals were large?
Solution
Shared residual is on the order of floating-point noise (); dense residual is order . If both were large, either the shift action or the convolution wrap-around would be implemented inconsistently (a padding mismatch is the usual bug). The square is a test, not an aspiration.