Nyquist–Shannon sampling theorem
This fact that the dimensions have to agree is related to the Nyquist–Shannon sampling theorem.