advanced math library for linux?
Is there an advanced math library for linux, something that would include functions for working with a standard normal distribution?
The reason I ask is that I want to make a function something like this:
Code:
int randomVal(int mean, int standardDeviation);
which would use the mean and standard deviation to give a random value somewhere inside the curve - i.e. so it's a weighted random, and if you ran the function many times you would basically get the whole standard normal distribution back.
If anyone doesn't know what I am talking about, don't worry, it does actually make sense if you know the math :)
Oh yeah and.. wow, it's so good to be back.. I love websites that don't delete my username when I've been gone for like.. however many years it's been :D