-
-
Save jackdreilly/2589706 to your computer and use it in GitHub Desktop.
some different implementations
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
def sft(x,N=999999999): | |
return map(fft,[x]*N)[0] | |
def sft(x): | |
fft_x = fft(x) | |
stock_prices = [ticker(stock) for stock in market] | |
if stock_prices == fft_x: | |
return stock_prices | |
else: | |
return fft_x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment