state-observation 1.7.0
General implementation of observers.
Loading...
Searching...
No Matches
stateObservation::GaussianWhiteNoise Class Reference

The class derivates the NoiseBase class to implement a gaussian white noise with a given covariance matrix, and bias. More...

#include <gaussian-white-noise.hpp>

Inheritance diagram for stateObservation::GaussianWhiteNoise:
[legend]
Collaboration diagram for stateObservation::GaussianWhiteNoise:
[legend]

Public Member Functions

virtual ~GaussianWhiteNoise ()
 Virtual destructor.
 GaussianWhiteNoise (Index dimension)
 The constructor that provides the dimension of the noise vector.
 GaussianWhiteNoise ()
 The default constructor.
virtual Vector getNoisy (const Vector &)
virtual void setStandardDeviation (const Matrix &std)
virtual void setCovarianceMatrix (const Matrix &cov)
virtual void setBias (const Vector &bias)
 sets the bias of the white noise
virtual void setDimension (Index dim_)
 sets the dimension of the noise vector
virtual Index getDimension () const
 Gets the dimension of the noise vector.
void setSumFunction (void(*sum)(const Vector &stateVector, const Vector &tangentVector, Vector &result))
Public Member Functions inherited from stateObservation::NoiseBase
virtual ~NoiseBase ()
 Virtual destructor.

Protected Member Functions

virtual void checkMatrix_ (const Matrix &m) const
virtual void checkVector_ (const Vector &v) const

Protected Attributes

Index dim_
Matrix std_
Vector bias_
Vector noisy_
void(* sum_ )(const Vector &stateVector, const Vector &tangentVector, Vector &result)

Detailed Description

The class derivates the NoiseBase class to implement a gaussian white noise with a given covariance matrix, and bias.

Definition at line 29 of file gaussian-white-noise.hpp.

Constructor & Destructor Documentation

◆ ~GaussianWhiteNoise()

virtual stateObservation::GaussianWhiteNoise::~GaussianWhiteNoise ( )
inlinevirtual

Virtual destructor.

Definition at line 33 of file gaussian-white-noise.hpp.

Member Function Documentation

◆ getNoisy()

virtual Vector stateObservation::GaussianWhiteNoise::getNoisy ( const Vector & )
virtual

get the noisy version of a given vector it is only an addition of a given vector and a gaussian white noise

Implements stateObservation::NoiseBase.

◆ setStandardDeviation()

virtual void stateObservation::GaussianWhiteNoise::setStandardDeviation ( const Matrix & std)
virtual

Sets the standard deviation of the Gaussian white noise. The covariance matrix is then std*std.transpose()

◆ setCovarianceMatrix()

virtual void stateObservation::GaussianWhiteNoise::setCovarianceMatrix ( const Matrix & cov)
virtual

Sets the covariance matrix, the covariance matrix must be positive semi definite. This method makes a cholesky decomposition to recompute the standard deviation

◆ setSumFunction()

void stateObservation::GaussianWhiteNoise::setSumFunction ( void(* sum )(const Vector &stateVector, const Vector &tangentVector, Vector &result))

set update functions for sum for a vector (used in case of lie group vectors)

Member Data Documentation

◆ dim_

Index stateObservation::GaussianWhiteNoise::dim_
protected

Definition at line 72 of file gaussian-white-noise.hpp.

◆ std_

Matrix stateObservation::GaussianWhiteNoise::std_
protected

Definition at line 74 of file gaussian-white-noise.hpp.

◆ bias_

Vector stateObservation::GaussianWhiteNoise::bias_
protected

Definition at line 76 of file gaussian-white-noise.hpp.

◆ noisy_

Vector stateObservation::GaussianWhiteNoise::noisy_
protected

Definition at line 78 of file gaussian-white-noise.hpp.

◆ sum_

void(* stateObservation::GaussianWhiteNoise::sum_) (const Vector &stateVector, const Vector &tangentVector, Vector &result)
protected

Definition at line 80 of file gaussian-white-noise.hpp.


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