Drake
Drake C++ Documentation
DistributionVector Class Referenceabstract

Detailed Description

Base class for a vector of distributions, to be used with YAML archives.

(See class Distribution for scalar-valued distributions.)

See implementing_serialize for implementation details, especially the unusually public member fields in our subclasses.

#include <drake/common/schema/stochastic.h>

Public Member Functions

virtual ~DistributionVector ()
 
virtual Eigen::VectorXd Sample (drake::RandomGenerator *generator) const =0
 
virtual Eigen::VectorXd Mean () const =0
 
virtual drake::VectorX< drake::symbolic::ExpressionToSymbolic () const =0
 

Protected Member Functions

 DistributionVector ()
 
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 DistributionVector (const DistributionVector &)=default
 
DistributionVectoroperator= (const DistributionVector &)=default
 
 DistributionVector (DistributionVector &&)=default
 
DistributionVectoroperator= (DistributionVector &&)=default
 

Constructor & Destructor Documentation

◆ ~DistributionVector()

virtual ~DistributionVector ( )
virtual

◆ DistributionVector() [1/3]

DistributionVector ( const DistributionVector )
protecteddefault

◆ DistributionVector() [2/3]

DistributionVector ( DistributionVector &&  )
protecteddefault

◆ DistributionVector() [3/3]

DistributionVector ( )
protected

Member Function Documentation

◆ Mean()

virtual Eigen::VectorXd Mean ( ) const
pure virtual

◆ operator=() [1/2]

DistributionVector& operator= ( DistributionVector &&  )
protecteddefault

◆ operator=() [2/2]

DistributionVector& operator= ( const DistributionVector )
protecteddefault

◆ Sample()

virtual Eigen::VectorXd Sample ( drake::RandomGenerator generator) const
pure virtual

◆ ToSymbolic()


The documentation for this class was generated from the following file: