MultivariateNormal Class Reference

#include <armarx/control/common/math.h>

Public Member Functions

 MultivariateNormal (const Eigen::VectorXf &mu, const Eigen::MatrixXf &cov)
 
 MultivariateNormal (const Eigen::VectorXf &mu, float std)
 
float pdf (const Eigen::VectorXf &x) const
 
Eigen::VectorXf pdf_gradient (const Eigen::VectorXf &x) const
 
Eigen::VectorXf sample (unsigned int nr_iterations=20) const
 
 ~MultivariateNormal ()
 

Public Attributes

Eigen::MatrixXf covariance
 
Eigen::VectorXf mean
 

Detailed Description

Definition at line 29 of file math.h.

Constructor & Destructor Documentation

◆ MultivariateNormal() [1/2]

MultivariateNormal ( const Eigen::VectorXf &  mu,
const Eigen::MatrixXf &  cov 
)

◆ MultivariateNormal() [2/2]

MultivariateNormal ( const Eigen::VectorXf &  mu,
float  std 
)

Definition at line 8 of file math.cpp.

+ Here is the call graph for this function:

◆ ~MultivariateNormal()

Member Function Documentation

◆ pdf()

float pdf ( const Eigen::VectorXf &  x) const

Definition at line 14 of file math.cpp.

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

◆ pdf_gradient()

Eigen::VectorXf pdf_gradient ( const Eigen::VectorXf &  x) const

Definition at line 25 of file math.cpp.

+ Here is the call graph for this function:

◆ sample()

Eigen::VectorXf sample ( unsigned int  nr_iterations = 20) const

Definition at line 31 of file math.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ covariance

Eigen::MatrixXf covariance

Definition at line 39 of file math.h.

◆ mean

Eigen::VectorXf mean

Definition at line 38 of file math.h.


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