Logo Search packages:      
Sourcecode: blender version File versions  Download package

caset.c

/* 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);
     }
}

Generated by  Doxygen 1.6.0   Back to index