You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2022/11/30 13:35:26 UTC

[commons-statistics] 10/15: Javadoc stating how to create a distribution using the rate parameter

This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-statistics.git

commit bea02c3af8a65b59add73dee417697b7f765e122
Author: aherbert <ah...@apache.org>
AuthorDate: Wed Nov 30 12:40:38 2022 +0000

    Javadoc stating how to create a distribution using the rate parameter
---
 .../apache/commons/statistics/distribution/ExponentialDistribution.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/ExponentialDistribution.java b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/ExponentialDistribution.java
index 13bef64..1e2cffe 100644
--- a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/ExponentialDistribution.java
+++ b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/ExponentialDistribution.java
@@ -31,7 +31,7 @@ import org.apache.commons.rng.sampling.distribution.ZigguratSampler;
  *
  * <p>This implementation uses the scale parameter \( \mu \) which is the mean of the distribution.
  * A common alternative parameterization uses the rate parameter \( \lambda \) which is the reciprocal
- * of the mean.
+ * of the mean. The distribution can be be created using \( \mu  = \frac{1}{\lambda} \).
  *
  * @see <a href="https://en.wikipedia.org/wiki/Exponential_distribution">Exponential distribution (Wikipedia)</a>
  * @see <a href="https://mathworld.wolfram.com/ExponentialDistribution.html">Exponential distribution (MathWorld)</a>