forked from slowjud/FFT
-
Notifications
You must be signed in to change notification settings - Fork 0
bambang/FFT
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
= fft http://github.com/slowjud/FFT == DESCRIPTION: FFT is a Fast Fourier Transform C extension for Ruby == FEATURES/PROBLEMS: * The ruby array passed in must be power of 2 in size. * The ruby array can only contain numbers. * Currently only works on 1D complex transforms (time series). * I need to add some error messages rather than failing silently. * I need to add some tests. == SYNOPSIS: * Use an array or complex numbers in the form of [x, iy] * To perform a farward transform my_array = [[1,2,3.5,4],[3,5.2,7,22]] my_fft = my_array.fft * To perform the reverse transform my_array = my_fft.rfft == REQUIREMENTS: * None == INSTALL: * [sudo] gem install fft == DEVELOPERS: After checking out the source, run: $ rake newb This task will install any missing dependencies, run the tests/specs, and generate the RDoc. == LICENSE: (The MIT License) Copyright (c) 2010 FIX Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
About
A Fast Fourier Transform for Ruby written in C
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C 83.6%
- Ruby 16.4%