[mlpack-svn] r16736 - mlpack/trunk/src/mlpack/core/dists
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Jul 2 09:18:07 EDT 2014
Author: rcurtin
Date: Wed Jul 2 09:18:07 2014
New Revision: 16736
Log:
Minor refactoring for brevity.
Modified:
mlpack/trunk/src/mlpack/core/dists/gaussian_distribution.hpp
Modified: mlpack/trunk/src/mlpack/core/dists/gaussian_distribution.hpp
==============================================================================
--- mlpack/trunk/src/mlpack/core/dists/gaussian_distribution.hpp (original)
+++ mlpack/trunk/src/mlpack/core/dists/gaussian_distribution.hpp Wed Jul 2 09:18:07 2014
@@ -80,24 +80,14 @@
void Estimate(const arma::mat& observations,
const arma::vec& probabilities);
- /**
- * Return the mean.
- */
+ //! Return the mean.
const arma::vec& Mean() const { return mean; }
-
- /**
- * Return a modifiable copy of the mean.
- */
+ //! Return a modifiable copy of the mean.
arma::vec& Mean() { return mean; }
- /**
- * Return the covariance matrix.
- */
+ //! Return the covariance matrix.
const arma::mat& Covariance() const { return covariance; }
-
- /**
- * Return a modifiable copy of the covariance.
- */
+ //! Return a modifiable copy of the covariance.
arma::mat& Covariance() { return covariance; }
/**
More information about the mlpack-svn
mailing list