Reputation: 13
I am looking to compile KISS_FFT (Keep it simple stupid) so that it can accept an array of double as input and output an array of doubles.
KISS_FFT is a library which does a fast Fourier Transformation on a set of data and outputs the result. By default it looks like it uses the float data type.
Upvotes: 1
Views: 611
Reputation: 212979
You just need to define the makefile variable DATATYPE
, e.g.:
make DATATYPE=double ...
This in turn defines the macro kiss_fft_scalar
as double
.
To see this in action:
cd test
make DATATYPE=double test
Upvotes: 3