Drake
Drake C++ Documentation
DeterministicVector< Size > Class Template Referencefinal

Detailed Description

template<int Size>
class drake::schema::DeterministicVector< Size >

A single deterministic vector value.

Template Parameters
Sizerows at compile time (max 6) or else Eigen::Dynamic.

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

Public Member Functions

 DeterministicVector ()
 
 DeterministicVector (const drake::Vector< double, Size > &value)
 
 ~DeterministicVector () final
 
Eigen::VectorXd Sample (drake::RandomGenerator *generator) const final
 
Eigen::VectorXd Mean () const final
 
drake::VectorX< drake::symbolic::ExpressionToSymbolic () const final
 
template<typename Archive >
void Serialize (Archive *a)
 
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 DeterministicVector (const DeterministicVector &)=default
 
DeterministicVectoroperator= (const DeterministicVector &)=default
 
 DeterministicVector (DeterministicVector &&)=default
 
DeterministicVectoroperator= (DeterministicVector &&)=default
 
- Public Member Functions inherited from DistributionVector
virtual ~DistributionVector ()
 

Public Attributes

drake::Vector< double, Size > value
 

Additional Inherited Members

- Protected Member Functions inherited from DistributionVector
 DistributionVector ()
 
 DistributionVector (const DistributionVector &)=default
 
DistributionVectoroperator= (const DistributionVector &)=default
 
 DistributionVector (DistributionVector &&)=default
 
DistributionVectoroperator= (DistributionVector &&)=default
 

Constructor & Destructor Documentation

◆ DeterministicVector() [1/4]

DeterministicVector ( const DeterministicVector< Size > &  )
default

◆ DeterministicVector() [2/4]

DeterministicVector ( DeterministicVector< Size > &&  )
default

◆ DeterministicVector() [3/4]

◆ DeterministicVector() [4/4]

DeterministicVector ( const drake::Vector< double, Size > &  value)
explicit

◆ ~DeterministicVector()

~DeterministicVector ( )
final

Member Function Documentation

◆ Mean()

Eigen::VectorXd Mean ( ) const
finalvirtual

Implements DistributionVector.

◆ operator=() [1/2]

DeterministicVector& operator= ( const DeterministicVector< Size > &  )
default

◆ operator=() [2/2]

DeterministicVector& operator= ( DeterministicVector< Size > &&  )
default

◆ Sample()

Eigen::VectorXd Sample ( drake::RandomGenerator generator) const
finalvirtual

Implements DistributionVector.

◆ Serialize()

void Serialize ( Archive *  a)

◆ ToSymbolic()

drake::VectorX<drake::symbolic::Expression> ToSymbolic ( ) const
finalvirtual

Implements DistributionVector.

Member Data Documentation

◆ value

drake::Vector<double, Size> value

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