moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
stomp_moveit::math::MultivariateGaussian Class Reference

Generates samples from a multivariate gaussian distribution. More...

#include <multivariate_gaussian.hpp>

Public Member Functions

template<typename Derived1 , typename Derived2 >
 MultivariateGaussian (const Eigen::MatrixBase< Derived1 > &mean, const Eigen::MatrixBase< Derived2 > &covariance)
 
template<typename Derived >
void sample (Eigen::MatrixBase< Derived > &output, bool use_covariance=true)
 generates random values using a normal distribution.
 

Detailed Description

Generates samples from a multivariate gaussian distribution.

Definition at line 58 of file multivariate_gaussian.hpp.

Constructor & Destructor Documentation

◆ MultivariateGaussian()

template<typename Derived1 , typename Derived2 >
stomp_moveit::math::MultivariateGaussian::MultivariateGaussian ( const Eigen::MatrixBase< Derived1 > &  mean,
const Eigen::MatrixBase< Derived2 > &  covariance 
)

Definition at line 84 of file multivariate_gaussian.hpp.

Member Function Documentation

◆ sample()

template<typename Derived >
void stomp_moveit::math::MultivariateGaussian::sample ( Eigen::MatrixBase< Derived > &  output,
bool  use_covariance = true 
)

generates random values using a normal distribution.

Parameters
outputThe random values
use_covarianceTrue to apply the covariance matrix onto the random values, false otherwise

Definition at line 92 of file multivariate_gaussian.hpp.


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