Created
May 22, 2017 07:09
-
-
Save adityaramesh/0faa3443771e1f051bbd7e382f0d60fa to your computer and use it in GitHub Desktop.
Plancherel's theorem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
np.set_printoptions(precision=3, linewidth=200) | |
a = np.random.normal(size=(3, 3)) | |
q, _ = np.linalg.qr(a) | |
print(np.matmul(q, q.T)) | |
s = np.fft.fft2(q) | |
print(np.matmul(s, s.conj().T)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment