MultivariateNormalDistribution Class Reference

The MultivariateNormalDistribution class. More...

#include <MemoryX/core/entity/ProbabilityMeasures.h>

+ Inheritance diagram for MultivariateNormalDistribution:

Public Member Functions

armarx::VariantDataClassPtr clone (const Ice::Current &c=Ice::emptyCurrent) const override
 
void deserialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) override
 
void fromEigenCovariance (const Eigen::MatrixXf &cov) override
 
float getCovariance (int row, int col, const ::Ice::Current &=Ice::emptyCurrent) const override
 
float getDensity (const Eigen::VectorXf &point) override
 
armarx::VariantTypeId getType (const Ice::Current &c=Ice::emptyCurrent) const override
 
float getVarianceScalar (const ::Ice::Current &=Ice::emptyCurrent) const override
 
Ice::ObjectPtr ice_clone () const override
 
 MultivariateNormalDistribution (const Eigen::VectorXf &mean, const Eigen::MatrixXf &vars)
 
 MultivariateNormalDistribution (const FloatVector &mean, const FloatVector &vars)
 
 MultivariateNormalDistribution (const MultivariateNormalDistribution &other)
 
 MultivariateNormalDistribution (int dimensions=0)
 
void serialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) const override
 
void setCovariance (::Ice::Int row, ::Ice::Int col, ::Ice::Float cov, const ::Ice::Current &=Ice::emptyCurrent) override
 
Eigen::MatrixXf toEigenCovariance () const override
 
bool validate (const Ice::Current &c=Ice::emptyCurrent) override
 
- Public Member Functions inherited from NormalDistribution
void fromEigenMean (const Eigen::VectorXf &mean)
 
int getDimensions (const ::Ice::Current &=Ice::emptyCurrent) const override
 
FloatVector getMean (const ::Ice::Current &=Ice::emptyCurrent) const override
 
std::string output (const Ice::Current &c=Ice::emptyCurrent) const override
 
void setMean (const FloatVector &mean, const ::Ice::Current &=Ice::emptyCurrent) override
 
Eigen::VectorXf toEigenMean () const
 

Static Public Member Functions

static MultivariateNormalDistributionPtr CreateDefaultDistribution (float variance=10000)
 Create a distribution with uncertainty of variance in all directions (default: variance = 10000, i.e. standard deviation is 100 mm) More...
 

Additional Inherited Members

- Protected Member Functions inherited from NormalDistribution
void deserialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) override
 
 NormalDistribution (const Eigen::VectorXf &mean)
 
 NormalDistribution (const FloatVector &mean)
 
 NormalDistribution (const NormalDistribution &other)
 
 NormalDistribution (int dimensions)
 
void serialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) const override
 

Detailed Description

The MultivariateNormalDistribution class.

Definition at line 236 of file ProbabilityMeasures.h.

Constructor & Destructor Documentation

◆ MultivariateNormalDistribution() [1/4]

MultivariateNormalDistribution ( int  dimensions = 0)

Definition at line 352 of file ProbabilityMeasures.cpp.

+ Here is the caller graph for this function:

◆ MultivariateNormalDistribution() [2/4]

MultivariateNormalDistribution ( const FloatVector &  mean,
const FloatVector &  vars 
)

Definition at line 358 of file ProbabilityMeasures.cpp.

◆ MultivariateNormalDistribution() [3/4]

MultivariateNormalDistribution ( const Eigen::VectorXf &  mean,
const Eigen::MatrixXf &  vars 
)

Definition at line 364 of file ProbabilityMeasures.cpp.

+ Here is the call graph for this function:

◆ MultivariateNormalDistribution() [4/4]

Member Function Documentation

◆ clone()

armarx::VariantDataClassPtr clone ( const Ice::Current &  c = Ice::emptyCurrent) const
inlineoverride

Definition at line 271 of file ProbabilityMeasures.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CreateDefaultDistribution()

static MultivariateNormalDistributionPtr CreateDefaultDistribution ( float  variance = 10000)
inlinestatic

Create a distribution with uncertainty of variance in all directions (default: variance = 10000, i.e. standard deviation is 100 mm)

Parameters
variance
Returns

Definition at line 251 of file ProbabilityMeasures.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ deserialize()

void deserialize ( const armarx::ObjectSerializerBasePtr &  serializer,
const ::Ice::Current &  = Ice::emptyCurrent 
)
override

Definition at line 460 of file ProbabilityMeasures.cpp.

+ Here is the call graph for this function:

◆ fromEigenCovariance()

void fromEigenCovariance ( const Eigen::MatrixXf &  cov)
overridevirtual

Implements NormalDistribution.

Definition at line 425 of file ProbabilityMeasures.cpp.

+ Here is the caller graph for this function:

◆ getCovariance()

Ice::Float getCovariance ( int  row,
int  col,
const ::Ice::Current &  = Ice::emptyCurrent 
) const
overridevirtual

Implements NormalDistribution.

Definition at line 381 of file ProbabilityMeasures.cpp.

◆ getDensity()

float getDensity ( const Eigen::VectorXf &  point)
overridevirtual

Implements NormalDistribution.

Definition at line 437 of file ProbabilityMeasures.cpp.

+ Here is the call graph for this function:

◆ getType()

armarx::VariantTypeId getType ( const Ice::Current &  c = Ice::emptyCurrent) const
inlineoverride

Definition at line 275 of file ProbabilityMeasures.h.

◆ getVarianceScalar()

Ice::Float getVarianceScalar ( const ::Ice::Current &  = Ice::emptyCurrent) const
override

Definition at line 406 of file ProbabilityMeasures.cpp.

+ Here is the call graph for this function:

◆ ice_clone()

Ice::ObjectPtr ice_clone ( ) const
inlineoverride

Definition at line 267 of file ProbabilityMeasures.h.

+ Here is the call graph for this function:

◆ serialize()

void serialize ( const armarx::ObjectSerializerBasePtr &  serializer,
const ::Ice::Current &  = Ice::emptyCurrent 
) const
override

Definition at line 452 of file ProbabilityMeasures.cpp.

+ Here is the call graph for this function:

◆ setCovariance()

void setCovariance ( ::Ice::Int  row,
::Ice::Int  col,
::Ice::Float  cov,
const ::Ice::Current &  = Ice::emptyCurrent 
)
override

Definition at line 392 of file ProbabilityMeasures.cpp.

◆ toEigenCovariance()

Eigen::MatrixXf toEigenCovariance ( ) const
overridevirtual

Implements NormalDistribution.

Definition at line 419 of file ProbabilityMeasures.cpp.

+ Here is the caller graph for this function:

◆ validate()

bool validate ( const Ice::Current &  c = Ice::emptyCurrent)
inlineoverride

Definition at line 279 of file ProbabilityMeasures.h.


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