mlpack
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
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
This class enforces no constraint on the covariance matrix.
Definition: no_constraint.hpp:25
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.
Definition: no_constraint.hpp:29
static void serialize(Archive &, const uint32_t)
Serialize the object (nothing to do).
Definition: no_constraint.hpp:33