mirror of
https://github.com/apache/commons-math.git
synced 2025-03-06 08:29:06 +00:00
Submitted by: phil@steitz.com git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140931 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
db0b59b9bc
commit
0da1561627
@ -62,16 +62,6 @@ package org.apache.commons.math.stat;
|
||||
*/
|
||||
public abstract class AbstractStoreUnivariate implements StoreUnivariate {
|
||||
|
||||
/**
|
||||
* Returns the most frequently occuring value
|
||||
* @see org.apache.commons.math.stat.StoreUnivariate#getMode()
|
||||
*/
|
||||
public double getMode() {
|
||||
// Mode depends on a refactor Freq class
|
||||
String msg = "getMode() is not yet implemented";
|
||||
throw new UnsupportedOperationException(msg);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the skewness of this collection of values
|
||||
* @see org.apache.commons.math.stat.StoreUnivariate#getSkewness()
|
||||
|
@ -282,26 +282,4 @@ public class StatUtils {
|
||||
}
|
||||
return min;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the mode of the values that have been added. The mode is
|
||||
* the element which occurs with the most frequency
|
||||
* @return the mode
|
||||
*/
|
||||
public static double mode() {
|
||||
// Mode depends on a refactor Freq class
|
||||
String msg = "mode() is not yet implemented";
|
||||
throw new UnsupportedOperationException(msg);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the mode of the values that have been added. The mode is
|
||||
* the element which occurs with the most frequency
|
||||
* @return the mode
|
||||
*/
|
||||
public static double median(double[] values) {
|
||||
// Mode depends on a refactor Freq class
|
||||
String msg = "median() is not yet implemented";
|
||||
throw new UnsupportedOperationException(msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user