Mercurial > hg > batch-feature-extraction-tool
view Lib/fftw-3.2.1/libbench2/aset.c @ 9:262e084a15a9
Vectorised everything and made use of unique_ptr so there should be no more memory leaks. Hurrah for RAII
author | Geogaddi\David <d.m.ronan@qmul.ac.uk> |
---|---|
date | Wed, 12 Aug 2015 22:25:06 +0100 |
parents | 25bf17994ef1 |
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; }