[mlpack] 98/324: Minor refactoring for brevity.

Barak A. Pearlmutter barak+git at cs.nuim.ie
Sun Aug 17 08:22:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch svn-trunk
in repository mlpack.

commit 4692277a828aca408591527e6146f1f537db16ba
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Wed Jul 2 13:18:07 2014 +0000

    Minor refactoring for brevity.
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16736 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 src/mlpack/core/dists/gaussian_distribution.hpp | 18 ++++--------------
 1 file changed, 4 insertions(+), 14 deletions(-)

diff --git a/src/mlpack/core/dists/gaussian_distribution.hpp b/src/mlpack/core/dists/gaussian_distribution.hpp
index 99d1cdd..20f2524 100644
--- a/src/mlpack/core/dists/gaussian_distribution.hpp
+++ b/src/mlpack/core/dists/gaussian_distribution.hpp
@@ -80,24 +80,14 @@ class GaussianDistribution
   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; }
 
   /**

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list