File: aset.c

package info (click to toggle)
fftw3 3.3.2-3.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 21,448 kB
  • sloc: ansic: 252,622; sh: 11,540; ml: 5,479; perl: 1,651; makefile: 927; fortran: 110
file content (10 lines) | stat: -rw-r--r-- 154 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
/* 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;
}