This is an automated email from the ASF dual-hosted git repository. asf-gitbox-commits pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-numbers.git
commit b954578a1db29169056ee47b0a6fc271579838d3 Author: Alex Herbert <[email protected]> AuthorDate: Wed Oct 21 14:28:21 2026 +0100 Format javadoc --- .../src/main/java/org/apache/commons/numbers/gamma/Digamma.java | 8 ++++---- .../src/main/java/org/apache/commons/numbers/gamma/Trigamma.java | 7 +++++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/Digamma.java b/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/Digamma.java index 0b36b081..d80e5765 100644 --- a/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/Digamma.java +++ b/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/Digamma.java @@ -18,11 +18,11 @@ package org.apache.commons.numbers.gamma; /** * <a href="https://en.wikipedia.org/wiki/Digamma_function">Digamma function</a>. - * <p> - * It is defined as the logarithmic derivative of the \( \Gamma \) + * + * <p>It is defined as the logarithmic derivative of the \( \Gamma \) * ({@link Gamma}) function: - * \( \frac{d}{dx}(\ln \Gamma(x)) = \frac{\Gamma^\prime(x)}{\Gamma(x)} \). - * </p> + * + * <p>\[ \frac{d}{dx}(\ln \Gamma(x)) = \frac{\Gamma^\prime(x)}{\Gamma(x)} \]. * * @see Gamma */ diff --git a/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/Trigamma.java b/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/Trigamma.java index be9cd1df..8ab1dd4b 100644 --- a/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/Trigamma.java +++ b/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/Trigamma.java @@ -19,8 +19,11 @@ package org.apache.commons.numbers.gamma; /** * <a href="https://en.wikipedia.org/wiki/Trigamma_function">Trigamma function</a>. * - * It is the derivative of the {@link Digamma digamma function}: - * \( \psi_1(x) = \frac{d^2}{dx^2} (\ln \Gamma(x)) \). + * <p>It is the derivative of the {@link Digamma digamma function}: + * + * <p>\[ \psi_1(x) = \frac{d^2}{dx^2} (\ln \Gamma(x)) \]. + * + * @see Digamma */ public final class Trigamma { /** C limit. */
