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 
17 namespace mlpack {
18 namespace 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 uint32_t /* version */) { }
34 };
35 
36 } // namespace gmm
37 } // namespace mlpack
38 
39 #endif
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.
This class enforces no constraint on the covariance matrix.
The core includes that mlpack expects; standard C++ includes and Armadillo.
static void serialize(Archive &, const uint32_t)
Serialize the object (nothing to do).