org.jscience.measure.random
Interface RandomVectorGenerator

All Known Implementing Classes:
CorrelatedRandomVectorGenerator, UncorrelatedRandomVectorGenerator

public interface RandomVectorGenerator

This interface represent a random generator for whole vectors.


Method Summary
 double[] nextVector()
          Generate a random vector.
 

Method Detail

nextVector

double[] nextVector()
Generate a random vector.

Returns:
a random vector as an array of double. The generator will reuse the same array for each call, in order to save the allocation time, so the user should keep a copy by himself if he needs so.