Mercurial > hg > sv-dependency-builds
annotate src/fftw-3.3.3/libbench2/caset.c @ 31:642a72ce5e62
Add Vamp SDK, move serd/sord to more obvious locations
author | Chris Cannam |
---|---|
date | Fri, 04 Jul 2014 08:16:02 +0100 |
parents | 37bf6b4a2645 |
children |
rev | line source |
---|---|
Chris@10 | 1 /* not worth copyrighting */ |
Chris@10 | 2 |
Chris@10 | 3 #include "bench.h" |
Chris@10 | 4 |
Chris@10 | 5 void caset(bench_complex *A, int n, bench_complex x) |
Chris@10 | 6 { |
Chris@10 | 7 int i; |
Chris@10 | 8 for (i = 0; i < n; ++i) { |
Chris@10 | 9 c_re(A[i]) = c_re(x); |
Chris@10 | 10 c_im(A[i]) = c_im(x); |
Chris@10 | 11 } |
Chris@10 | 12 } |