Home > Back-end >  STD: : normal_distribution how to use
STD: : normal_distribution how to use

Time:09-22

STD: : normal_distribution & lt; Double> Dis1 (0, 1);//is normal distribution function N (0, 1)
STD: : default_random_engine random (time (NULL));
STD: : cout<& lt; Dis1 (random);
What is the return value range? Specific what meaning be?

CodePudding user response:

This is the concept of a normal distribution, the return value between minus infinity to is infinite, but in [1, 3-3 * * 1] between probability is bigger,
  • Related