Given a covariance matrix, force the matrix to be positive definite.
static void ApplyConstraint (arma::mat &covariance)
Apply the positive definiteness constraint to the given covariance matrix.
Given a covariance matrix, force the matrix to be positive definite.
Definition at line 33 of file positive_definite_constraint.hpp.
Apply the positive definiteness constraint to the given covariance matrix.
Parameters:
covariance Covariance matrix.
Definition at line 41 of file positive_definite_constraint.hpp.
References mlpack::Log::Debug.
Generated automatically by Doxygen for MLPACK from the source code.