SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.stats.random.multivariate
Interface RandomVectorGenerator

All Known Implementing Classes:
Gaussian, IID, Multinomial

public interface RandomVectorGenerator

A (pseudo) multivariate random number generator samples a random vector from a multivariate distribution. The elements in a vector are somehow correlated.

See Also:

Method Summary
 double[] nextVector()
          Get the next random vector.
 void seed(long... seeds)
          Seed the random number generator to produce repeatable sequences.
 

Method Detail

seed

void seed(long... seeds)
Seed the random number generator to produce repeatable sequences.

Parameters:
seeds - the seeds

nextVector

double[] nextVector()
Get the next random vector.

Returns:
the next random vector

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.