Ejemplo n.º 1
0
void randmtzig_fill_randn (dsfmt_t *dsfmt, double *p, randmtzig_idx_type n)
{
    randmtzig_idx_type i;
    for (i = 0; i < n; i++)
        p[i] = randmtzig_randn(dsfmt);
}
Ejemplo n.º 2
0
Archivo: perf.c Proyecto: CBaader/julia
static void randmtzig_fill_randn(dsfmt_t *dsfmt, double *a, int size) {
    for (int i=0; i<size; ++i)
        a[i] = randmtzig_randn(dsfmt);
}