mlpack  2.0.1
no_constraint.hpp
Go to the documentation of this file.
1 
14 #ifndef __MLPACK_METHODS_GMM_NO_CONSTRAINT_HPP
15 #define __MLPACK_METHODS_GMM_NO_CONSTRAINT_HPP
16 
17 #include <mlpack/core.hpp>
18 
19 namespace mlpack {
20 namespace gmm {
21 
28 {
29  public:
31  static void ApplyConstraint(const arma::mat& /* covariance */) { }
32 
34  template<typename Archive>
35  static void Serialize(Archive& /* ar */, const unsigned int /* version */) { }
36 };
37 
38 } // namespace gmm
39 } // namespace mlpack
40 
41 #endif
Linear algebra utility functions, generally performed on matrices or vectors.
This class enforces no constraint on the covariance matrix.
static void ApplyConstraint(const arma::mat &)
Do nothing, and do not modify the covariance matrix.
Include all of the base components required to write MLPACK methods, and the main MLPACK Doxygen docu...
static void Serialize(Archive &, const unsigned int)
Serialize the object (nothing to do).