chrono::ChMinMaxDistribution Class Reference


Class for a distribution with uniform probability between a lower 'min' value and upper 'max' value (that is, the distribution looks like a rectangle)

#include <ChDistribution.h>

Inheritance diagram for chrono::ChMinMaxDistribution:
Collaboration diagram for chrono::ChMinMaxDistribution:

Public Member Functions

 ChMinMaxDistribution (double mmin, double mmax)
virtual double GetRandom () override
 Compute a random value whose probability is defined by the distribution, that is a value between min and max.
- Public Member Functions inherited from chrono::ChDistribution
virtual ~ChDistribution ()
 Default destructor for distribution object.

The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono/core/ChDistribution.h
  • /builds/uwsbel/chrono/src/chrono/core/ChDistribution.cpp