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:22 UTC
[commons-statistics] 06/15: More readable javadoc
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 6a7bcdfe99c9885c607c993678dd0c599f5d383a
Author: aherbert <ah...@apache.org>
AuthorDate: Wed Nov 30 11:55:06 2022 +0000
More readable javadoc
---
.../commons/statistics/distribution/DiscreteDistribution.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/DiscreteDistribution.java b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/DiscreteDistribution.java
index 3e1394e..ebb23ef 100644
--- a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/DiscreteDistribution.java
+++ b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/DiscreteDistribution.java
@@ -120,8 +120,8 @@ public interface DiscreteDistribution {
*
* <p>If the result exceeds the range of the data type {@code int},
* then {@code Integer.MIN_VALUE} or {@code Integer.MAX_VALUE} is returned.
- * In this case the result of {@link #cumulativeProbability(int)} called
- * using the returned {@code p}-quantile may not compute the original {@code p}.
+ * In this case the result of {@link #cumulativeProbability(int) cumulativeProbability(x)}
+ * called using the returned {@code p}-quantile may not compute the original {@code p}.
*
* @param p Cumulative probability.
* @return the smallest {@code p}-quantile of this distribution
@@ -142,8 +142,8 @@ public interface DiscreteDistribution {
*
* <p>If the result exceeds the range of the data type {@code int},
* then {@code Integer.MIN_VALUE} or {@code Integer.MAX_VALUE} is returned.
- * In this case the result of {@link #survivalProbability(int)} called
- * using the returned {@code (1-p)}-quantile may not compute the original {@code p}.
+ * In this case the result of {@link #survivalProbability(int) survivalProbability(x)}
+ * called using the returned {@code (1-p)}-quantile may not compute the original {@code p}.
*
* <p>By default, this is defined as {@code inverseCumulativeProbability(1 - p)}, but
* the specific implementation may be more accurate.