|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cmu.minorthird.util.MathUtil
public class MathUtil
Math utilities.
| Nested Class Summary | |
|---|---|
static class |
MathUtil.Accumulator
Accumulate a list of numbers, then report on mean, standard deviation, and other common statistics. |
| Constructor Summary | |
|---|---|
MathUtil()
|
|
| Method Summary | |
|---|---|
static double |
abs(double x)
Absolute value function. |
static double |
logistic(double x)
Logistic function. |
static int |
sign(double x)
Sign function. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MathUtil()
| Method Detail |
|---|
public static int sign(double x)
public static double abs(double x)
public static double logistic(double x)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||