You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2021/07/17 12:37:54 UTC

[commons-math] 01/02: Javadoc.

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

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

commit 7de72b3402bad3d31d6317fb936401a9ca382ac9
Author: Gilles Sadowski <gi...@gmail.com>
AuthorDate: Sat Jul 17 14:35:26 2021 +0200

    Javadoc.
---
 .../apache/commons/math4/legacy/stat/ranking/NaturalRanking.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/ranking/NaturalRanking.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/ranking/NaturalRanking.java
index 9aab512..bad04ca 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/ranking/NaturalRanking.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/ranking/NaturalRanking.java
@@ -323,10 +323,10 @@ public class NaturalRanking implements RankingAlgorithm {
      * Resolve a sequence of ties, using the configured {@link TiesStrategy}.
      * The input <code>ranks</code> array is expected to take the same value
      * for all indices in <code>tiesTrace</code>.  The common value is recoded
-     * according to the tiesStrategy. For example, if ranks = <5,8,2,6,2,7,1,2>,
-     * tiesTrace = <2,4,7> and tiesStrategy is MINIMUM, ranks will be unchanged.
+     * according to the tiesStrategy. For example, if ranks = [5,8,2,6,2,7,1,2],
+     * tiesTrace = [2,4,7] and tiesStrategy is MINIMUM, ranks will be unchanged.
      * The same array and trace with tiesStrategy AVERAGE will come out
-     * <5,8,3,6,3,7,1,3>.
+     * [5,8,3,6,3,7,1,3].
      *
      * @param ranks array of ranks
      * @param tiesTrace list of indices where <code>ranks</code> is constant