Made moment statistics package scope. JIRA: MATH-694.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206658 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Phil Steitz 2011-11-27 03:15:46 +00:00
parent 094ea7e70f
commit df95ffdc24
5 changed files with 9 additions and 9 deletions

View File

@ -47,7 +47,7 @@ import org.apache.commons.math.util.MathUtils;
* *
* @version $Id$ * @version $Id$
*/ */
public class FirstMoment extends AbstractStorelessUnivariateStatistic class FirstMoment extends AbstractStorelessUnivariateStatistic
implements Serializable { implements Serializable {
/** Serializable version identifier */ /** Serializable version identifier */

View File

@ -53,7 +53,7 @@ import org.apache.commons.math.util.MathUtils;
* *
* @version $Id$ * @version $Id$
*/ */
public class FourthMoment extends ThirdMoment implements Serializable{ class FourthMoment extends ThirdMoment implements Serializable{
/** Serializable version identifier */ /** Serializable version identifier */
private static final long serialVersionUID = 4763990447117157611L; private static final long serialVersionUID = 4763990447117157611L;

View File

@ -47,7 +47,7 @@ import org.apache.commons.math.util.MathUtils;
* *
* @version $Id$ * @version $Id$
*/ */
public class ThirdMoment extends SecondMoment implements Serializable { class ThirdMoment extends SecondMoment implements Serializable {
/** Serializable version identifier */ /** Serializable version identifier */
private static final long serialVersionUID = -7818711964045118679L; private static final long serialVersionUID = -7818711964045118679L;

View File

@ -52,6 +52,11 @@ The <action> type attribute can be add,update,fix,remove.
If the output is not quite correct, check for invisible trailing spaces! If the output is not quite correct, check for invisible trailing spaces!
--> -->
<release version="3.0" date="TBD" description="TBD"> <release version="3.0" date="TBD" description="TBD">
<action dev="psteitz" type="update" issue="MATH-694">
Removed First, Second, Third, Fourth moments from the public API.
These internally used statistics have non-standard definitions.
The classes remain, but now have package scope.
</action>
<action dev="psteitz" type="update" issue="MATH-693"> <action dev="psteitz" type="update" issue="MATH-693">
Added support for population variance in StatUtils, SummaryStatistics Added support for population variance in StatUtils, SummaryStatistics
and DescriptiveStatistics and clarified javadoc to make it clear that and DescriptiveStatistics and clarified javadoc to make it clear that

View File

@ -14,13 +14,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.apache.commons.math.stat.descriptive; package org.apache.commons.math.stat.descriptive.moment;
import org.apache.commons.math.stat.descriptive.moment.FourthMoment;
import org.apache.commons.math.stat.descriptive.moment.Kurtosis;
import org.apache.commons.math.stat.descriptive.moment.Mean;
import org.apache.commons.math.stat.descriptive.moment.Skewness;
import org.apache.commons.math.stat.descriptive.moment.Variance;
import org.junit.Assert; import org.junit.Assert;
import org.junit.Test; import org.junit.Test;