vendredi 6 septembre 2019

Stl: exponential_distribution - Using minimum and maximum values as input parameters

Can you tell me how to create an object for the exponential_distribution distribution, where I would specify only the minimum and maximum values that can be taken in this distribution as input parameters?

m_generatorDeltaTime = std::exponential_distribution<double>(minDelta, maxDelta);

the example above gives an error:(




Aucun commentaire:

Enregistrer un commentaire