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 f099867b6227310a3cc86448e1209dbfb0629dcb Author: aherbert <[email protected]> AuthorDate: Tue Nov 22 15:52:45 2022 +0000 Update supported bounds to use MathJax This matches the inverse probability documentation. --- .../commons/statistics/distribution/ContinuousDistribution.java | 4 ++-- .../apache/commons/statistics/distribution/DiscreteDistribution.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/ContinuousDistribution.java b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/ContinuousDistribution.java index 8e26379..d4646ea 100644 --- a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/ContinuousDistribution.java +++ b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/ContinuousDistribution.java @@ -156,7 +156,7 @@ public interface ContinuousDistribution { * Gets the lower bound of the support. * It must return the same value as * {@code inverseCumulativeProbability(0)}, i.e. - * {@code inf {x in R | P(X <= x) > 0}}. + * \( \inf \{ x \in \mathbb R : P(X \le x) \gt 0 \} \). * * @return the lower bound of the support. */ @@ -166,7 +166,7 @@ public interface ContinuousDistribution { * Gets the upper bound of the support. * It must return the same * value as {@code inverseCumulativeProbability(1)}, i.e. - * {@code inf {x in R | P(X <= x) = 1}}. + * \( \inf \{ x \in \mathbb R : P(X \le x) = 1 \} \). * * @return the upper bound of the support. */ 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 8560bae..5a9f0ed 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 @@ -175,7 +175,7 @@ public interface DiscreteDistribution { * Gets the lower bound of the support. * This method must return the same value as * {@code inverseCumulativeProbability(0)}, i.e. - * {@code inf {x in Z | P(X <= x) > 0}}. + * \( \inf \{ x \in \mathbb Z : P(X \le x) \gt 0 \} \). * By convention, {@code Integer.MIN_VALUE} should be substituted * for negative infinity. * @@ -187,7 +187,7 @@ public interface DiscreteDistribution { * Gets the upper bound of the support. * This method must return the same value as * {@code inverseCumulativeProbability(1)}, i.e. - * {@code inf {x in Z | P(X <= x) = 1}}. + * \( \inf \{ x \in \mathbb Z : P(X \le x) = 1 \} \). * By convention, {@code Integer.MAX_VALUE} should be substituted * for positive infinity. *
