samedi 9 janvier 2021

How to use rayleigh_distribution<> from boost librabry in c++?

I'm trying to generate random number using Rayleigh distribution. I have implemented this using the c++ the library below:

#include <boost/math/distributions/rayleigh.hpp>

boost::math::rayleigh_distribution<> rayleigh();

I don't know how to use this library to return number related to sigma.




Aucun commentaire:

Enregistrer un commentaire