mlpack 3.4.2
no_constraint.hpp
Go to the documentation of this file.
1
12#ifndef MLPACK_METHODS_GMM_NO_CONSTRAINT_HPP
13#define MLPACK_METHODS_GMM_NO_CONSTRAINT_HPP
14
15#include <mlpack/prereqs.hpp>
16
17namespace mlpack {
18namespace gmm {
19
26{
27 public:
29 static void ApplyConstraint(const arma::mat& /* covariance */) { }
30
32 template<typename Archive>
33 static void serialize(Archive& /* ar */, const unsigned int /* version */) { }
34};
35
36} // namespace gmm
37} // namespace mlpack
38
39#endif
This class enforces no constraint on the covariance matrix.
static void serialize(Archive &, const unsigned int)
Serialize the object (nothing to do).
static void ApplyConstraint(const arma::mat &)
Do nothing, and do not modify the covariance matrix.
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
The core includes that mlpack expects; standard C++ includes and Armadillo.