My code is basically-->
#include <ACG.H>
#include <LogNorm.H>
void main()
{
ACG gen;
double mean = 300; double variance = 60;
LogNormal n ( mean, variance, & gen ); //
for( int i = 0; i < 100; i++ ) cout << n() << endl;
}
I end up getting a distribution that looks NOTHING like a lognormal
distribution ( it goes up to 300, peaks for a bit, then continues to rise
into infinity ).
Am I doing something wrong ?
Thanks in advance
Lyle