Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE1EA17BD8 for ; Wed, 11 Mar 2015 21:13:40 +0000 (UTC) Received: (qmail 10833 invoked by uid 500); 11 Mar 2015 21:13:40 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 10760 invoked by uid 500); 11 Mar 2015 21:13:40 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 10751 invoked by uid 99); 11 Mar 2015 21:13:40 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Mar 2015 21:13:40 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 64660E0B2C; Wed, 11 Mar 2015 21:13:40 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: tn@apache.org To: commits@commons.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [math] [MATH-1209] Fix link to algorithm description in PoissonDistribution#sample(). Thanks to Jonathan Ogilvie Date: Wed, 11 Mar 2015 21:13:40 +0000 (UTC) Repository: commons-math Updated Branches: refs/heads/MATH_3_X 13abd04b4 -> 502335307 [MATH-1209] Fix link to algorithm description in PoissonDistribution#sample(). Thanks to Jonathan Ogilvie Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/50233530 Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/50233530 Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/50233530 Branch: refs/heads/MATH_3_X Commit: 502335307709b17707d5c28707d668544c85d839 Parents: 13abd04 Author: Thomas Neidhart Authored: Wed Mar 11 22:13:22 2015 +0100 Committer: Thomas Neidhart Committed: Wed Mar 11 22:13:22 2015 +0100 ---------------------------------------------------------------------- src/changes/changes.xml | 3 +++ .../apache/commons/math3/distribution/PoissonDistribution.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-math/blob/50233530/src/changes/changes.xml ---------------------------------------------------------------------- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index d976897..f1595c2 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -54,6 +54,9 @@ If the output is not quite correct, check for invisible trailing spaces! + + Fixed link to algorithm description in "PoissonDistribution#sample()". + EmpiricalDistribution cumulativeProbability can return NaN when evaluated within a constant bin. http://git-wip-us.apache.org/repos/asf/commons-math/blob/50233530/src/main/java/org/apache/commons/math3/distribution/PoissonDistribution.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/math3/distribution/PoissonDistribution.java b/src/main/java/org/apache/commons/math3/distribution/PoissonDistribution.java index 0d885e9..7765913 100644 --- a/src/main/java/org/apache/commons/math3/distribution/PoissonDistribution.java +++ b/src/main/java/org/apache/commons/math3/distribution/PoissonDistribution.java @@ -283,7 +283,7 @@ public class PoissonDistribution extends AbstractIntegerDistribution { *
    *
  • For small means, uses simulation of a Poisson process * using Uniform deviates, as described - * here. + * here. * The Poisson process (and hence value returned) is bounded by 1000 * mean. *
  • *
  • For large means, uses the rejection algorithm described in