Using boost's skewed_normal_distribution
问题 I am fairly new to c++ and boost. I want to create a set of numbers that derived from a skewed distribution using Boost's skewed_normal_distribution class. I'm not sure how to even start. I want to define a distribution with mean 0.05, variance 0.95, but a skew of 0.5. The following code doesn't work and I realise I need to set up a variate_generator as well. Can anyone provide some pointers? I am not finding the boost documentation page on skew_normal_distribution very intuitive but that