Bayes Filters Library
|
#include <Gaussian.h>
Public Member Functions | |
Gaussian () noexcept | |
Gaussian (const std::size_t dim_linear) noexcept | |
Gaussian (const std::size_t dim_linear, const std::size_t dim_circular, const bool use_quaternion=false) noexcept | |
virtual | ~Gaussian () noexcept=default |
void | resize (const std::size_t dim_linear, const std::size_t dim_circular=0) |
Eigen::Ref< Eigen::VectorXd > | mean () |
Non-virtual methods of GaussianMixture are overriden here since a Gaussian is a 1-component GaussianMixture. More... | |
const Eigen::Ref< const Eigen::VectorXd > | mean () const |
double & | mean (const std::size_t i) |
const double & | mean (const std::size_t i) const |
Eigen::Ref< Eigen::MatrixXd > | covariance () |
const Eigen::Ref< const Eigen::MatrixXd > | covariance () const |
double & | covariance (const std::size_t i, const std::size_t j) |
const double & | covariance (const std::size_t i, const std::size_t j) const |
double & | weight () |
const double & | weight () const |
virtual void | resize (const std::size_t components, const std::size_t dim_linear, const std::size_t dim_circular=0) |
double & | mean (const std::size_t i, const std::size_t j) |
const double & | mean (const std::size_t i, const std::size_t j) const |
Eigen::Ref< Eigen::MatrixXd > | covariance (const std::size_t i) |
double & | covariance (const std::size_t i, const std::size_t j, const std::size_t k) |
const Eigen::Ref< const Eigen::MatrixXd > | covariance (const std::size_t i) const |
const double & | covariance (const std::size_t i, const std::size_t j, const std::size_t k) const |
double & | weight (const std::size_t i) |
const double & | weight (const std::size_t i) const |
bool | augmentWithNoise (const Eigen::Ref< const Eigen::MatrixXd > &noise_covariance_matrix) |
Public Attributes | |
std::size_t | components |
bool | use_quaternion |
std::size_t | dim_circular_component |
std::size_t | dim |
std::size_t | dim_linear |
std::size_t | dim_circular |
std::size_t | dim_noise |
std::size_t | dim_covariance |
Protected Attributes | |
Eigen::MatrixXd | mean_ |
Eigen::MatrixXd | covariance_ |
Eigen::VectorXd | weight_ |
Definition at line 22 of file Gaussian.h.
|
noexcept |
Definition at line 15 of file Gaussian.cpp.
|
noexcept |
Definition at line 20 of file Gaussian.cpp.
|
noexcept |
Definition at line 26 of file Gaussian.cpp.
|
virtualdefaultnoexcept |
|
inherited |
Definition at line 190 of file GaussianMixture.cpp.
Referenced by bfl::UKFCorrection::correctStep(), and bfl::UKFPrediction::predictStep().
const Ref< const MatrixXd > Gaussian::covariance | ( | ) |
Definition at line 65 of file Gaussian.cpp.
const Eigen::Ref<const Eigen::MatrixXd> bfl::Gaussian::covariance | ( | ) | const |
|
inherited |
Definition at line 136 of file GaussianMixture.cpp.
|
inherited |
Definition at line 154 of file GaussianMixture.cpp.
double & Gaussian::covariance | ( | const std::size_t | i, |
const std::size_t | j | ||
) |
Definition at line 77 of file Gaussian.cpp.
const double & Gaussian::covariance | ( | const std::size_t | i, |
const std::size_t | j | ||
) | const |
Definition at line 84 of file Gaussian.cpp.
|
inherited |
Definition at line 142 of file GaussianMixture.cpp.
|
inherited |
Definition at line 160 of file GaussianMixture.cpp.
const Ref< const VectorXd > Gaussian::mean | ( | ) |
Non-virtual methods of GaussianMixture are overriden here since a Gaussian is a 1-component GaussianMixture.
Hence it is better to return a Ref<VectorXd> as the mean, rather than a Ref<MatrixXd>, and a double& as the weight, rather than a Ref<VectorXd>&.
Definition at line 41 of file Gaussian.cpp.
const Eigen::Ref<const Eigen::VectorXd> bfl::Gaussian::mean | ( | ) | const |
double & Gaussian::mean | ( | const std::size_t | i | ) |
Definition at line 53 of file Gaussian.cpp.
const double & Gaussian::mean | ( | const std::size_t | i | ) | const |
Definition at line 59 of file Gaussian.cpp.
|
inherited |
Definition at line 106 of file GaussianMixture.cpp.
|
inherited |
Definition at line 124 of file GaussianMixture.cpp.
|
virtualinherited |
Reimplemented in bfl::ParticleSet.
Definition at line 64 of file GaussianMixture.cpp.
Referenced by bfl::ParticleSet::resize(), and resize().
void Gaussian::resize | ( | const std::size_t | dim_linear, |
const std::size_t | dim_circular = 0 |
||
) |
Definition at line 35 of file Gaussian.cpp.
References bfl::GaussianMixture::resize().
const double & Gaussian::weight | ( | ) |
Definition at line 90 of file Gaussian.cpp.
const double& bfl::Gaussian::weight | ( | ) | const |
|
inherited |
Definition at line 172 of file GaussianMixture.cpp.
|
inherited |
Definition at line 184 of file GaussianMixture.cpp.
|
inherited |
Definition at line 67 of file GaussianMixture.h.
Referenced by bfl::KFCorrection::correctStep(), bfl::UKFCorrection::correctStep(), bfl::GPFCorrection::correctStep(), bfl::SUKFCorrection::correctStep(), bfl::ParticleSet::operator+=(), bfl::KFPrediction::predictStep(), bfl::sigma_point::sigma_point(), and bfl::sigma_point::unscented_transform().
|
protectedinherited |
Definition at line 86 of file GaussianMixture.h.
Referenced by bfl::ParticleSet::operator+=().
|
inherited |
Definition at line 73 of file GaussianMixture.h.
Referenced by bfl::SUKFCorrection::correctStep(), and bfl::sigma_point::sigma_point().
|
inherited |
Definition at line 77 of file GaussianMixture.h.
Referenced by bfl::SUKFCorrection::correctStep(), bfl::ResamplingWithPrior::resample(), bfl::sigma_point::sigma_point(), and bfl::sigma_point::unscented_transform().
|
inherited |
Definition at line 71 of file GaussianMixture.h.
|
inherited |
Definition at line 81 of file GaussianMixture.h.
Referenced by bfl::sigma_point::sigma_point(), and bfl::sigma_point::unscented_transform().
|
inherited |
Definition at line 75 of file GaussianMixture.h.
Referenced by bfl::SUKFCorrection::correctStep(), bfl::ResamplingWithPrior::resample(), bfl::sigma_point::sigma_point(), and bfl::sigma_point::unscented_transform().
|
inherited |
Definition at line 79 of file GaussianMixture.h.
Referenced by bfl::sigma_point::sigma_point(), and bfl::sigma_point::unscented_transform().
|
protectedinherited |
Definition at line 84 of file GaussianMixture.h.
Referenced by bfl::ParticleSet::operator+=().
|
inherited |
Definition at line 69 of file GaussianMixture.h.
Referenced by bfl::sigma_point::sigma_point(), and bfl::sigma_point::unscented_transform().
|
protectedinherited |
Definition at line 88 of file GaussianMixture.h.
Referenced by bfl::ParticleSet::operator+=().