You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ps...@apache.org on 2004/05/11 04:05:25 UTC

cvs commit: jakarta-commons/math/src/java/org/apache/commons/math/distribution DiscreteDistribution.java

psteitz     2004/05/10 19:05:25

  Modified:    math/src/java/org/apache/commons/math/distribution
                        DiscreteDistribution.java
  Log:
  Improved documentation.
  
  Revision  Changes    Path
  1.12      +3 -2      jakarta-commons/math/src/java/org/apache/commons/math/distribution/DiscreteDistribution.java
  
  Index: DiscreteDistribution.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/math/src/java/org/apache/commons/math/distribution/DiscreteDistribution.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- DiscreteDistribution.java	8 Apr 2004 20:45:59 -0000	1.11
  +++ DiscreteDistribution.java	11 May 2004 02:05:25 -0000	1.12
  @@ -46,11 +46,12 @@
        * @return the cumulative probability. 
        * @exception MathException if the cumulative probability can not be
        *            computed due to convergence or other numerical errors.
  +     * @exception IllegalArgumentException if x0 > x1
        */
       double cumulativeProbability(int x0, int x1) throws MathException;
       
       /**
  -     * For this disbution, X, this method returns x such that P(X &le; x) <= p.
  +     * For this disbution, X, this method returns the largest x such that P(X &le; x) <= p.
        * @param p the cumulative probability.
        * @return x. 
        * @exception MathException if the inverse cumulative probability can not be
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org