view src/fftw-3.3.5/libbench2/caset.c @ 67:f1a9b270e043

List of exclusions from the appimage repo
author Chris Cannam
date Thu, 28 Jun 2018 15:29:59 +0100
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);
     }
}