Documentation of 'org.encog.mathutil.BoundNumbers' Java class
BoundNumbers
org.encog.mathutil

Class BoundNumbers



  • public final class BoundNumbers
    extends java.lang.Object
    A simple class that prevents numbers from getting either too big or too small.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static double TOO_BIG
      Too big of a number.
      static double TOO_SMALL
      Too small of a number.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      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

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • bound

        public static double bound(double d)
        Bound the number so that it does not become too big or too small.
        Parameters:
        d - The number to check.
        Returns:
        The new number. Only changed if it was too big or too small.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.