chrono::ChUniformDistribution Class Reference

Description

Class for a distribution with uniform probability between a lower 'min' value and upper 'max' value.

#include <ChRandom.h>

Inheritance diagram for chrono::ChUniformDistribution:
Collaboration diagram for chrono::ChUniformDistribution:

Public Member Functions

 ChUniformDistribution (double min=0.0, double max=1.0)
 
virtual double GetRandom () override
 Compute a random value whose probability is defined by the distribution, that is a value between min and max.
 

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