[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## [Help-gsl] Random number generation

**From**: |
Vibhuti Dave |

**Subject**: |
[Help-gsl] Random number generation |

**Date**: |
Tue, 5 May 2009 12:45:52 -0400 |

Hi,
I am trying to generate a random sequence of numbers that have a Gaussian
distribution with mean 0 and standard deviation of 1.
My code is attached. It is a simple code since I am beginner at programming
and also using the GSL library for the first time. I need to run this code a
1000 times. Each time, i want the code to generate 600 random numbers with a
Gaussian distribution as specified above. My question is, is there a way to
change the seed for the random function generator besides changing it at
command line. I cant run the code manually a 1000 times to make sure that i
get to change the seed.
Any help would be appreciated, thanks
Vibhuti

**
**`gaussian.c`

*Description:* Binary data

**[Help-gsl] Random number generation**,
*Vibhuti Dave* **<=**