Thanks to Karl Richter.
This commit is contained in:
Gilles 2017-08-09 13:54:22 +02:00
parent e1f30a1c32
commit 05c28c05e9
1 changed files with 10 additions and 8 deletions

View File

@ -110,13 +110,15 @@ public class DescriptiveStatistics implements StatisticalSummary, Serializable {
private UnivariateStatistic sumImpl = new Sum();
/**
* Construct a DescriptiveStatistics instance with an infinite window.
* Construct a {@code DescriptiveStatistics} instance with an infinite
* window.
*/
public DescriptiveStatistics() {
}
/**
* Construct a DescriptiveStatistics instance with the specified window.
* Construct a {@code DescriptiveStatistics} instance with the specified
* window.
*
* @param window the window size.
* @throws MathIllegalArgumentException if window size is less than 1 but
@ -127,10 +129,10 @@ public class DescriptiveStatistics implements StatisticalSummary, Serializable {
}
/**
* Construct a DescriptiveStatistics instance with an infinite window
* and the initial data values in double[] initialDoubleArray.
* If initialDoubleArray is null, then this constructor corresponds to
* DescriptiveStatistics()
* Construct a {@code DescriptiveStatistics} instance with an infinite
* window and the initial data values in {@code initialDoubleArray}.
* If {@code initialDoubleArray} is {@code null}, then this constructor
* corresponds to {@link #DescriptiveStatistics() }.
*
* @param initialDoubleArray the initial double[].
*/
@ -141,8 +143,8 @@ public class DescriptiveStatistics implements StatisticalSummary, Serializable {
}
/**
* Copy constructor. Construct a new DescriptiveStatistics instance that
* is a copy of original.
* Copy constructor. Construct a new {@code DescriptiveStatistics} instance
* that is a copy of {@code original}.
*
* @param original DescriptiveStatistics instance to copy
* @throws NullArgumentException if original is null