You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2012/10/18 23:26:13 UTC

svn commit: r1399864 - in /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution: AbstractMultivariateRealDistribution.java MultivariateRealDistribution.java

Author: erans
Date: Thu Oct 18 21:26:13 2012
New Revision: 1399864

URL: http://svn.apache.org/viewvc?rev=1399864&view=rev
Log:
MATH-881
Removed meaningless properties for multivariate distributions.

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=1399864&r1=1399863&r2=1399864&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 Thu Oct 18 21:26:13 2012
@@ -78,29 +78,4 @@ public abstract class AbstractMultivaria
     public double probability(double[] x) {
         return 0;
     }
-
-    /** {@inheritDoc} */
-    public double getSupportLowerBound() {
-        return Double.NEGATIVE_INFINITY;
-    }
-
-    /** {@inheritDoc} */
-    public double getSupportUpperBound() {
-        return Double.POSITIVE_INFINITY;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        return false;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        return false;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportConnected() {
-        return false;
-    }
 }

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=1399864&r1=1399863&r2=1399864&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 Thu Oct 18 21:26:13 2012
@@ -54,57 +54,6 @@ public interface MultivariateRealDistrib
     double density(double[] x);
 
     /**
-     * Access the lower bound of the support.
-     * This method must return the same value as {@code inverseCumulativeProbability(0)}.
-     * In other words, this method must return
-     * <p>
-     * <code>inf {x in R | P(X <= x) > 0}</code>.
-     * </p>
-     *
-     * @return the lower bound of the support (might be
-     * {@code Double.NEGATIVE_INFINITY}).
-     */
-    double getSupportLowerBound();
-
-    /**
-     * Access the upper bound of the support.
-     * This method must return the same value as {@code inverseCumulativeProbability(1)}.
-     * In other words, this method must return
-     * <p>
-     * <code>inf {x in R | P(X <= x) = 1}</code>.
-     * </p>
-     *
-     * @return the upper bound of the support (might be
-     * {@code Double.POSITIVE_INFINITY}).
-     */
-    double getSupportUpperBound();
-
-    /**
-     * Gets information about whether the lower bound of the support is
-     * inclusive or not.
-     *
-     * @return whether the lower bound of the support is inclusive or not.
-     */
-    boolean isSupportLowerBoundInclusive();
-
-    /**
-     * gets information about whether the upper bound of the support is
-     * inclusive or not.
-     *
-     * @return whether the upper bound of the support is inclusive or not.
-     */
-    boolean isSupportUpperBoundInclusive();
-
-    /**
-     * Gets information about whether the support is connected (i.e. all
-     * values between the lower and upper bound of the support are included
-     * in the support).
-     *
-     * @return whether the support is connected or not.
-     */
-    boolean isSupportConnected();
-
-    /**
      * Reseeds the random generator used to generate samples.
      *
      * @param seed Seed with which to initialize the random number generator.