Interface RandomNumberGenerator
-
- All Known Implementing Classes:
NormalRandomNumberGenerator
public interface RandomNumberGenerator
Generator of random numbers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double[]
getVector(int size)
Gets an array of random numbers.List<double[]>
getVectors(int arraySize, int listSize)
Gets a list of random number arrays.
-
-
-
Method Detail
-
getVector
double[] getVector(int size)
Gets an array of random numbers.- Parameters:
size
- the size of the resulting array- Returns:
- the array of random numbers
-
getVectors
List<double[]> getVectors(int arraySize, int listSize)
Gets a list of random number arrays.- Parameters:
arraySize
- the size of each resulting arraylistSize
- the size of the list- Returns:
- the list of random number arrays
-
-