Javadoc (a few missed updates re: MATH-1146)

This commit is contained in:
Phil Steitz 2015-01-10 15:41:51 -07:00
parent c93cc818fb
commit e42ab0ec6c
2 changed files with 6 additions and 2 deletions

View File

@ -38,7 +38,9 @@ import org.apache.commons.math3.util.MathUtils;
* <code>m = m + (new value - m) / (number of observations)</code></li>
* </ol></p>
* <p>
* Returns <code>Double.NaN</code> if the dataset is empty.</p>
* Returns <code>Double.NaN</code> if the dataset is empty. Note that
* Double.NaN may also be returned if the input includes NaN and / or infinite
* values.</p>
* <p>
* <strong>Note that this implementation is not synchronized.</strong> If
* multiple threads access an instance of this class concurrently, and at least

View File

@ -36,7 +36,9 @@ import org.apache.commons.math3.util.MathUtils;
* new value = old value + dev^2 * (n -1) / n.</p>
* <p>
* Returns <code>Double.NaN</code> if no data values have been added and
* returns <code>0</code> if there is just one value in the data set.</p>
* returns <code>0</code> if there is just one value in the data set.
* Note that Double.NaN may also be returned if the input includes NaN
* and / or infinite values.</p>
* <p>
* <strong>Note that this implementation is not synchronized.</strong> If
* multiple threads access an instance of this class concurrently, and at least