view fft/fftw/fftw-3.3.4/libbench2/aset.c @ 32:ebc87a62321d

Add Nayuki fft.c compiled to JS
author Chris Cannam
date Mon, 09 Nov 2015 11:46:47 +0000
parents 26056e866c29
children
line wrap: on
line source
/* not worth copyrighting */

#include "bench.h"

void aset(bench_real *A, int n, bench_real x)
{
     int i;
     for (i = 0; i < n; ++i)
	  A[i] = x;
}