Public Member Functions | Public Attributes | List of all members
ergodic_exploration::Gaussian Struct Reference

2D gaussian More...

#include <target.hpp>

Public Member Functions

 Gaussian ()
 Constructor. More...
 
 Gaussian (const vec &mu, const vec &sigmas)
 Constructor. More...
 
double operator() (const vec &pt) const
 Evaluate gaussian. More...
 
double operator() (const vec &pt, const vec &trans) const
 Evaluate gaussian. More...
 

Public Attributes

mat cov
 
mat cov_inv
 
vec mu
 

Detailed Description

2D gaussian

Definition at line 56 of file target.hpp.

Constructor & Destructor Documentation

◆ Gaussian() [1/2]

ergodic_exploration::Gaussian::Gaussian ( )
inline

Constructor.

Definition at line 59 of file target.hpp.

◆ Gaussian() [2/2]

ergodic_exploration::Gaussian::Gaussian ( const vec &  mu,
const vec &  sigmas 
)
inline

Constructor.

Parameters
mu- mean [mean x, mean y]
sigmas- standard deviations [sigma x, sigma y]

Definition at line 68 of file target.hpp.

Member Function Documentation

◆ operator()() [1/2]

double ergodic_exploration::Gaussian::operator() ( const vec &  pt) const
inline

Evaluate gaussian.

Parameters
pt- point [x y]
Returns
evaluated gaussian at pt

Definition at line 78 of file target.hpp.

◆ operator()() [2/2]

double ergodic_exploration::Gaussian::operator() ( const vec &  pt,
const vec &  trans 
) const
inline

Evaluate gaussian.

Parameters
pt- point [x y]
trans- translation from map frame to fourier domain
Returns
evaluated gaussian at pt translated by trans

the translation is used to translate the mean into the fourier domain

Definition at line 91 of file target.hpp.

Member Data Documentation

◆ cov

mat ergodic_exploration::Gaussian::cov

Definition at line 105 of file target.hpp.

◆ cov_inv

mat ergodic_exploration::Gaussian::cov_inv

Definition at line 106 of file target.hpp.

◆ mu

vec ergodic_exploration::Gaussian::mu

Definition at line 104 of file target.hpp.


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


ergodic_exploration
Author(s): bostoncleek
autogenerated on Wed Mar 2 2022 00:17:13