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
# | |
# Bayern2 Programmseite abgrasen | |
# | |
require 'time' | |
# sudo gem install scrapi | |
# | |
# http://exceptionz.wordpress.com/2009/11/03/scrapi-on-snow-leopard/ | |
require 'scrapi' | |
require 'cgi' | |
require 'sqlite3' |
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
#!/usr/bin/env ruby | |
require 'complex' | |
class Array | |
# DFT and inverse. | |
# | |
# Algorithm from | |
# 'Meyberg, Vachenauer: Hoehere Mathematik II, Springer Berlin, 1991, page 332' | |
# | |
# See http://blog.mro.name/2011/04/simple-ruby-fast-fourier-transform/ |
OlderNewer