|
Formula 1.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objecthirondelle.formula.function.builtin.Median
public final class Median
median(x1,x2,x3,...): the median of a set of numbers.
The median is often considered a better statistic than the mean, since it's less sensitive to extreme values that may appear in the set of numbers.
Constructor Summary | |
---|---|
Median()
|
Method Summary | |
---|---|
Decimal |
calculate(Decimal... aArgs)
Returns the median of the given parameters. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Median()
Method Detail |
---|
public Decimal calculate(Decimal... aArgs)
The number of parameters in this case (0..N) is not fixed. If no parameters are passed, then zero is returned. The parameters can be passed in any order.
calculate
in interface Function
aArgs
- 0 or more arguments to the function.
|
Formula 1.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |