Mercurial > hg > batch-feature-extraction-tool
view Lib/fftw-3.2.1/libbench2/caset.c @ 0:25bf17994ef1
First commit. VS2013, Codeblocks and Mac OSX configuration
author | Geogaddi\David <d.m.ronan@qmul.ac.uk> |
---|---|
date | Thu, 09 Jul 2015 01:12:16 +0100 |
parents | |
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); } }