| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static void | |
| public static double | evaluate(double[]
An array of values on which the mode is computed. v)if v is zero length or contains no duplicates, return value is Double.NaN. |
| public ValueEval | evaluate(ValueEval[]
the evaluated function arguments. Empty values are represented with
args, int BlankEval or MissingArgEval, never null.row index of the cell containing the formula under evaluation srcCellRow, int column index of the cell containing the formula under evaluation srcCellCol)Implements org.
|
| Mode | back to summary |
|---|---|
| public Mode() | |
| collectValue | back to summary |
|---|---|
| private static void collectValue(ValueEval arg, List<Double> temp, boolean mustBeNumber) throws EvaluationException | |
| collectValues | back to summary |
|---|---|
| private static void collectValues(ValueEval arg, List<Double> temp) throws EvaluationException | |
| evaluate | back to summary |
|---|---|
| public static double evaluate(double[] v) throws EvaluationException if v is zero length or contains no duplicates, return value is Double.NaN. Else returns the value that occurs most times and if there is a tie, returns the first such value.
| |
| evaluate | back to summary |
|---|---|
| public ValueEval evaluate(ValueEval[] args, int srcCellRow, int srcCellCol) Implements org.
| |