|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.util.RandomMap
public final class RandomMap
This class defines a random map.
Field Summary | |
---|---|
static RandomMap |
MAP
A random map that generates numbers between 0.0 and 1.0. |
Constructor Summary | |
---|---|
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 | |
---|---|
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final RandomMap MAP
Constructor Detail |
---|
public RandomMap()
public RandomMap(double minimum, double maximum)
minimum
- smallest random number to generatemaximum
- largest random number to generateMethod Detail |
---|
public double map(double x)
Mapping
map
in interface Mapping
public Complex map(Complex z)
ComplexMapping
map
in interface ComplexMapping
public Complex map(double real, double imag)
ComplexMapping
map
in interface ComplexMapping
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |