annotate src/fftw-3.3.5/libbench2/caset.c @ 56:af97cad61ff0

Add updated build of PortAudio for OSX
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 03 Jan 2017 15:10:52 +0000
parents 2cd0e3b3e1fd
children
rev   line source
Chris@42 1 /* not worth copyrighting */
Chris@42 2
Chris@42 3 #include "bench.h"
Chris@42 4
Chris@42 5 void caset(bench_complex *A, int n, bench_complex x)
Chris@42 6 {
Chris@42 7 int i;
Chris@42 8 for (i = 0; i < n; ++i) {
Chris@42 9 c_re(A[i]) = c_re(x);
Chris@42 10 c_im(A[i]) = c_im(x);
Chris@42 11 }
Chris@42 12 }