commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1400010 - in /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution: AbstractMultivariateRealDistribution.java MultivariateRealDistribution.java
Date Fri, 19 Oct 2012 09:30:44 GMT
Author: erans
Date: Fri Oct 19 09:30:44 2012
New Revision: 1400010

URL: http://svn.apache.org/viewvc?rev=1400010&view=rev
Log:
MATH-881
Removed useless method.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/AbstractMultivariateRealDistribution.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/MultivariateRealDistribution.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/AbstractMultivariateRealDistribution.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/AbstractMultivariateRealDistribution.java?rev=1400010&r1=1400009&r2=1400010&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/AbstractMultivariateRealDistribution.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/AbstractMultivariateRealDistribution.java
Fri Oct 19 09:30:44 2012
@@ -73,9 +73,4 @@ public abstract class AbstractMultivaria
         }
         return out;
     }
-
-    /** {@inheritDoc} */
-    public double probability(double[] x) {
-        return 0;
-    }
 }

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/MultivariateRealDistribution.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/MultivariateRealDistribution.java?rev=1400010&r1=1400009&r2=1400010&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/MultivariateRealDistribution.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/MultivariateRealDistribution.java
Fri Oct 19 09:30:44 2012
@@ -30,17 +30,6 @@ import org.apache.commons.math3.exceptio
  */
 public interface MultivariateRealDistribution {
     /**
-     * For a random variable {@code X} whose values are distributed according to
-     * this distribution, this method returns {@code P(X = x)}. In other words,
-     * this method represents the probability mass function (PMF) for the
-     * distribution.
-     *
-     * @param x Point at which the PMF is evaluated.
-     * @return the value of the probability mass function at point {@code x}.
-     */
-    double probability(double[] x);
-
-    /**
      * Returns the probability density function (PDF) of this distribution
      * evaluated at the specified point {@code x}. In general, the PDF is the
      * derivative of the cumulative distribution function. If the derivative



Mime
View raw message