15 #include <Eigen/Dense>
43 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
The NearestCov class generates a PSD Cov for a given pseudo-cov matrix.
Definition: nearest_cov.h:41
Eigen::MatrixXd EigenCorrectionUsingCorrelation(NearestCovMethod method)
EigenCorrectionUsingCorrelation.
NearestCov(const Eigen::MatrixXd &covariance)
NearestCov Constructor.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::MatrixXd cov_mat_
Input pseudo covariance.
Definition: nearest_cov.h:45
Eigen::MatrixXd EigenCorrectionUsingCovariance(NearestCovMethod method)
EigenCorrectionUsingCovariance.
double delta_
default correction for the delta method
Definition: nearest_cov.h:46
Definition: nearest_cov.h:18
NearestCovMethod
The NearestCovMethod enum defines the method to be used by the NearesCov algorythmus.
Definition: nearest_cov.h:23
@ zero
Correcting negative eigenvaules to zero.
Definition: nearest_cov.h:25
@ delta
Correcting negative eigenvaules to a defined delta.
Definition: nearest_cov.h:26
@ abs
Correcting negative eigenvaules to their absolut.
Definition: nearest_cov.h:24
@ none
No Correction, direct passtrough.
Definition: nearest_cov.h:27