de.jstacs.utils.random
Class EqualParts
java.lang.Object
de.jstacs.utils.random.MultivariateRandomGenerator
de.jstacs.utils.random.EqualParts
public class EqualParts
- extends MultivariateRandomGenerator
This class is no real random generator it just returns 1/n for all values.
The content of container MRGParams is never used in this class.
- Author:
- Jens Keilwagen
|
Method Summary |
void |
generate(double[] d,
int start,
int number)
|
void |
generate(double[] d,
int start,
int number,
MRGParams p)
Generates a n-dimensional random-array as part of the array
d beginning at start. |
double[] |
generate(int n)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EqualParts
public EqualParts()
generate
public void generate(double[] d,
int start,
int number,
MRGParams p)
- Description copied from class:
MultivariateRandomGenerator
- Generates a n-dimensional random-array as part of the array
d beginning at start.
- Specified by:
generate in class MultivariateRandomGenerator
- Parameters:
d - the arraystart - the start index for generated valuesnumber - the dimension of the arrayp - the parameter of the distribution
generate
public double[] generate(int n)
generate
public void generate(double[] d,
int start,
int number)