Documentation of 'jsci.util.RandomMap' Java class
RandomMap
jsci.util

Class RandomMap

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static RandomMap MAP
      A random map that generates numbers between 0.0 and 1.0.
    • Constructor Summary

      Constructors 
      Constructor and Description
      RandomMap()
      Constructs a random map with the range [0.0,1.0].
      RandomMap(double minimum, double maximum)
      Constructs a random map with a specified range.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Complex map(Complex z)
      A user-defined complex function.
      double map(double x)
      A user-defined function.
      Complex map(double real, double imag)
      A user-defined complex function.
      • Methods inherited from class java.lang.Object

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

      • MAP

        public static final RandomMap MAP
        A random map that generates numbers between 0.0 and 1.0.
    • Constructor Detail

      • RandomMap

        public RandomMap()
        Constructs a random map with the range [0.0,1.0].
      • RandomMap

        public RandomMap(double minimum,
                         double maximum)
        Constructs a random map with a specified range.
        Parameters:
        minimum - smallest random number to generate
        maximum - largest random number to generate
    • Method Detail

      • map

        public double map(double x)
        Description copied from interface: Mapping
        A user-defined function.
        Specified by:
        map in interface Mapping
      • map

        public Complex map(double real,
                           double imag)
        Description copied from interface: ComplexMapping
        A user-defined complex function. This method is designed to save the construction of a Complex object in cases where one is not given.
        Specified by:
        map in interface ComplexMapping

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.