public class RandFunction extends Object implements Function
Math.random()| Constructor and Description |
|---|
RandFunction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptNumParam(int numParam)
Returns true only for 0 parameters, false otherwise.
|
double |
of(double[] d,
int numParam)
Returns a random value in the range [0, 1) that does not depend on the input.
|
String |
toString() |
public double of(double[] d,
int numParam)
public boolean acceptNumParam(int numParam)
acceptNumParam in interface FunctionCopyright © 2022. All rights reserved.