|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.mathutil.BoundNumbers
public final class BoundNumbers
A simple class that prevents numbers from getting either too big or too small.
Field Summary | |
---|---|
static double |
TOO_BIG
Too big of a number. |
static double |
TOO_SMALL
Too small of a number. |
Method Summary | |
---|---|
static double |
bound(double d)
Bound the number so that it does not become too big or too small. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double TOO_SMALL
public static final double TOO_BIG
Method Detail |
---|
public static double bound(double d)
d
- The number to check.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |