view src/fftw-3.3.5/libbench2/caset.c @ 61:d101c4099725

Remove "other" Vamp SDK repo from sv-dependency-builds
author Chris Cannam
date Mon, 06 Mar 2017 13:29:58 +0000
parents 2cd0e3b3e1fd
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);
     }
}