Mercurial > hg > js-dsp-test
view fft/fftw/fftw-3.3.4/libbench2/caset.c @ 23:16cefafeafcf
Reduce range of sizes
author | Chris Cannam |
---|---|
date | Tue, 06 Oct 2015 17:51:43 +0100 |
parents | 26056e866c29 |
children |
line wrap: on
line source
/* not worth copyrighting */ #include "bench.h" void caset(bench_complex *A, int n, bench_complex x) { int i; for (i = 0; i < n; ++i) { c_re(A[i]) = c_re(x); c_im(A[i]) = c_im(x); } }