Mercurial > hg > sv-dependency-builds
view src/fftw-3.3.3/libbench2/caset.c @ 17:59685d5285b1
Merge
author | Chris Cannam <chris.cannam@eecs.qmul.ac.uk> |
---|---|
date | Mon, 25 Mar 2013 12:24:36 +0000 |
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); } }