Mercurial > hg > sv-dependency-builds
view src/fftw-3.3.3/libbench2/caset.c @ 24:3c5adc4a864f
Added tag sv_v2.1 for changeset 619f715526df
author | Chris Cannam |
---|---|
date | Thu, 16 May 2013 16:47:33 +0100 |
parents | 37bf6b4a2645 |
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); } }