mlpack  master
Static Public Member Functions | List of all members
mlpack::gmm::DiagonalConstraint Class Reference

Force a covariance matrix to be diagonal. More...

Static Public Member Functions

static void ApplyConstraint (arma::mat &covariance)
 Force a covariance matrix to be diagonal. More...
 
template<typename Archive >
static void Serialize (Archive &, const unsigned int)
 Serialize the constraint (which holds nothing, so, nothing to do). More...
 

Detailed Description

Force a covariance matrix to be diagonal.

Definition at line 23 of file diagonal_constraint.hpp.

Member Function Documentation

static void mlpack::gmm::DiagonalConstraint::ApplyConstraint ( arma::mat &  covariance)
inlinestatic

Force a covariance matrix to be diagonal.

Definition at line 27 of file diagonal_constraint.hpp.

template<typename Archive >
static void mlpack::gmm::DiagonalConstraint::Serialize ( Archive &  ,
const unsigned  int 
)
inlinestatic

Serialize the constraint (which holds nothing, so, nothing to do).

Definition at line 36 of file diagonal_constraint.hpp.


The documentation for this class was generated from the following file: