Package jsl.utilities.random.rvariable
Interface MVSampleIfc
-
- All Known Subinterfaces:
MVRVariableIfc
- All Known Implementing Classes:
AbstractMVRVariable,BivariateLogNormalRV,BivariateNormalRV
public interface MVSampleIfcAn interface for getting multi-variable samples, each sample has many values held in an array
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description double[]sample()default java.util.List<double[]>sample(int sampleSize)Generates a list holding the randomly generated arrays of the given sizedefault voidsample(java.util.List<double[]> values)Fills the supplied list of arrays with a randomly generated samples
-
-
-
Method Detail
-
sample
double[] sample()
- Returns:
- generates an array of random values
-
sample
default java.util.List<double[]> sample(int sampleSize)
Generates a list holding the randomly generated arrays of the given size- Parameters:
sampleSize- the amount to fill- Returns:
- A list holding the generated arrays
-
sample
default void sample(java.util.List<double[]> values)
Fills the supplied list of arrays with a randomly generated samples- Parameters:
values- the list to fill
-
-