|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdistribution.BasicMultivariateDistribution
distribution.Uniform
distribution.LatinHypercube
public class LatinHypercube
Implements Latin Hypercube techniques for uniform random sampling.
| Field Summary |
|---|
| Fields inherited from class distribution.Uniform |
|---|
uniform1D |
| Fields inherited from class distribution.BasicMultivariateDistribution |
|---|
randomEngine |
| Constructor Summary | |
|---|---|
LatinHypercube()
Default constructor. |
|
LatinHypercube(Hypercube bounds)
Constructs a LatinHypercube over the given bounds, which define a
Hypercube. |
|
| Method Summary | |
|---|---|
cern.colt.matrix.DoubleMatrix2D |
nextSample(cern.colt.matrix.DoubleMatrix2D mat)
Generates the next m random samples of this distribution and places
the result in the supplied matrix. |
void |
setInputDimension(int inputDimension)
Sets the number of dimensions of this distribution |
| Methods inherited from class distribution.Uniform |
|---|
assign, densityAt, densityAt, equals, getBounds, getInputDimension, maskWith, nextSample, setBounds, setSeed |
| Methods inherited from class distribution.BasicMultivariateDistribution |
|---|
densityAt, densityAt, densityAt, makeNextSample, makeNextSample, nextSample, nextSample |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LatinHypercube()
public LatinHypercube(Hypercube bounds)
LatinHypercube over the given bounds, which define a
Hypercube.
bounds - the given bounds.| Method Detail |
|---|
public cern.colt.matrix.DoubleMatrix2D nextSample(cern.colt.matrix.DoubleMatrix2D mat)
MultivariateDistributionm random samples of this distribution and places
the result in the supplied matrix. Returns a pointer to the same matrix for
convenience.
nextSample in interface MultivariateDistributionnextSample in class Uniformmat - matrix to hold the result. Cannot be null
MultivariateDistribution.makeNextSample(int) to creates
samples from scratch.public void setInputDimension(int inputDimension)
MultivariateDistribution
setInputDimension in interface MultivariateDistributionsetInputDimension in class UniforminputDimension - the given number of dimensions.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||