mlpack  master
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 unsigned int /* version */) { }
34 };
35 
36 } // namespace gmm
37 } // namespace mlpack
38 
39 #endif
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: binarize.hpp:18
This class enforces no constraint on the covariance matrix.
The core includes that mlpack expects; standard C++ includes and Armadillo.
static void ApplyConstraint(const arma::mat &)
Do nothing, and do not modify the covariance matrix.
static void Serialize(Archive &, const unsigned int)
Serialize the object (nothing to do).