|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.monad.homerun.function.math.Mean
public class Mean
Mean returns the average value of its arguments.
| Constructor Summary | |
|---|---|
Mean()
|
|
| Method Summary | |
|---|---|
Value |
eval(java.util.List<Value> args)
Returns the average (mean) of the arguments. |
java.lang.String |
getName()
Returns the name of the function |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Mean()
| Method Detail |
|---|
public java.lang.String getName()
Function
getName in interface Functionpublic Value eval(java.util.List<Value> args)
eval in interface Function
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||