![]() |
mars_lib
0.1.0.3dc76ee85e09
Modular and Robust Sensor-Fusion
|
The NearestCov class generates a PSD Cov for a given pseudo-cov matrix. More...
#include </home/runner/work/mars_lib/mars_lib/source/mars/include/mars/nearest_cov.h>
Public Member Functions | |
NearestCov (const Eigen::MatrixXd &covariance) | |
NearestCov Constructor. More... | |
Eigen::MatrixXd | EigenCorrectionUsingCovariance (NearestCovMethod method) |
EigenCorrectionUsingCovariance. More... | |
Eigen::MatrixXd | EigenCorrectionUsingCorrelation (NearestCovMethod method) |
EigenCorrectionUsingCorrelation. More... | |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::MatrixXd | cov_mat_ |
Input pseudo covariance. More... | |
double | delta_ { 0.005 } |
default correction for the delta method More... | |
The NearestCov class generates a PSD Cov for a given pseudo-cov matrix.
This class provides methods to generare a positive-semi-definite (PSD) covariance matrix for a given non-positive-semi-definite covariance matric (pseude covariance).
mars::NearestCov::NearestCov | ( | const Eigen::MatrixXd & | covariance | ) |
NearestCov Constructor.
covariance | Input pseudo covariance |
Eigen::MatrixXd mars::NearestCov::EigenCorrectionUsingCovariance | ( | NearestCovMethod | method | ) |
EigenCorrectionUsingCovariance.
method | Determines methode for the eigen covariance correction |
Eigen::MatrixXd mars::NearestCov::EigenCorrectionUsingCorrelation | ( | NearestCovMethod | method | ) |
EigenCorrectionUsingCorrelation.
method | Determines methode for the eigen covariance correction |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::MatrixXd mars::NearestCov::cov_mat_ |
Input pseudo covariance.
double mars::NearestCov::delta_ { 0.005 } |
default correction for the delta method