Пример #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);
}
Пример #2
0
static void randmtzig_fill_randn(dsfmt_t *dsfmt, double *a, int size) {
    for (int i=0; i<size; ++i)
        a[i] = randmtzig_randn(dsfmt);
}