25package umontreal.ssj.randvarmulti;
27import umontreal.ssj.probdistmulti.ContinuousDistributionMulti;
28import umontreal.ssj.rng.RandomStream;
29import umontreal.ssj.randvar.RandomVariateGen;
52 protected int dimension;
80 throw new IllegalArgumentException(
"n must be positive.");
81 for (
int i = 0; i < n; i++)
100 return gen1.getStream();
109 gen1.setStream(stream);
111 this.stream = stream;
This is the base class for all random variate generators over the real line.
This class is the multivariate counterpart of.
void setStream(RandomStream stream)
Sets the umontreal.ssj.rng.RandomStream used by this object to stream.
RandomStream getStream()
Returns the umontreal.ssj.rng.RandomStream used by this object.
int getDimension()
Returns the dimension of this multivariate generator (the dimension of the random points).
void nextArrayOfPoints(double[][] v, int start, int n)
Generates random points.
abstract void nextPoint(double[] p)
Generates a random point using the the stream contained in this object.
This interface defines the basic structures to handle multiple streams of uniform (pseudo)random numb...