I am new to programming in C and I'm trying to write a random number generator with a Gaussian distribution with user-defined mean and variance. I've looked at the code given in "Numerical Recipes in C" but I don't understand it very well. If anyone could point me in the direction of a tutorial or any other help it would be greatly appreciated.
mitzoff
0
Newbie Poster
Recommended Answers
Jump to PostWhat didn't you understand. Try a google search. Here is alink and a sample program:
Jump to PostSo which part fo the code u dont understand well? Where did u get the code from?
ssharish
All 8 Replies
GreenDay2001
ssharish2005
62
Posting Whiz in Training
mitzoff
0
Newbie Poster
ssharish2005
62
Posting Whiz in Training
Narue
5,707
Bad Cop
Team Colleague
mitzoff
0
Newbie Poster
ssharish2005
62
Posting Whiz in Training
iamthwee
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.