A uniform distribution with vector min
inclusive and vector max
exclusive.
Size | rows at compile time (max 6) or else Eigen::Dynamic. |
#include <drake/common/schema/stochastic.h>
Public Member Functions | |
UniformVector () | |
UniformVector (const drake::Vector< double, Size > &min, const drake::Vector< double, Size > &max) | |
~UniformVector () final | |
Eigen::VectorXd | Sample (drake::RandomGenerator *generator) const final |
Eigen::VectorXd | Mean () const final |
drake::VectorX< drake::symbolic::Expression > | ToSymbolic () const final |
template<typename Archive > | |
void | Serialize (Archive *a) |
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable | |
UniformVector (const UniformVector &)=default | |
UniformVector & | operator= (const UniformVector &)=default |
UniformVector (UniformVector &&)=default | |
UniformVector & | operator= (UniformVector &&)=default |
Public Member Functions inherited from DistributionVector | |
virtual | ~DistributionVector () |
Public Attributes | |
drake::Vector< double, Size > | min |
drake::Vector< double, Size > | max |
Additional Inherited Members | |
Protected Member Functions inherited from DistributionVector | |
DistributionVector () | |
DistributionVector (const DistributionVector &)=default | |
DistributionVector & | operator= (const DistributionVector &)=default |
DistributionVector (DistributionVector &&)=default | |
DistributionVector & | operator= (DistributionVector &&)=default |
|
default |
|
default |
UniformVector | ( | ) |
UniformVector | ( | const drake::Vector< double, Size > & | min, |
const drake::Vector< double, Size > & | max | ||
) |
|
final |
|
finalvirtual |
Implements DistributionVector.
|
default |
|
default |
|
finalvirtual |
Implements DistributionVector.
void Serialize | ( | Archive * | a | ) |
|
finalvirtual |
Implements DistributionVector.
drake::Vector<double, Size> max |
drake::Vector<double, Size> min |