A uniform distribution with min
inclusive and max
exclusive.
#include <drake/common/schema/stochastic.h>
Public Member Functions | |
Uniform () | |
Uniform (double min, double max) | |
~Uniform () final | |
double | Sample (drake::RandomGenerator *) const final |
double | Mean () const final |
drake::symbolic::Expression | ToSymbolic () const final |
template<typename Archive > | |
void | Serialize (Archive *a) |
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable | |
Uniform (const Uniform &)=default | |
Uniform & | operator= (const Uniform &)=default |
Uniform (Uniform &&)=default | |
Uniform & | operator= (Uniform &&)=default |
Public Member Functions inherited from Distribution | |
virtual | ~Distribution () |
Public Attributes | |
double | min {} |
double | max {} |
Additional Inherited Members | |
Protected Member Functions inherited from Distribution | |
Distribution () | |
Distribution (const Distribution &)=default | |
Distribution & | operator= (const Distribution &)=default |
Distribution (Distribution &&)=default | |
Distribution & | operator= (Distribution &&)=default |
Uniform | ( | ) |
|
final |
|
finalvirtual |
Implements Distribution.
|
finalvirtual |
Implements Distribution.
void Serialize | ( | Archive * | a | ) |
|
finalvirtual |
Implements Distribution.
double max {} |
double min {} |