org.ojalgo.random
Class Gaussian1D

java.lang.Object
  extended by org.ojalgo.random.Gaussian1D

public class Gaussian1D
extends Object


Field Summary
 int length
           
 
Constructor Summary
Gaussian1D(Access2D<?> aCorrelationsMatrix)
           
Gaussian1D(int aLength)
          If the variables are uncorrelated.
 
Method Summary
 Array1D<Double> generate()
          An array of correlated random numbers, provided that you gave a correlations matrix to the constructor.
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

length

public final int length
Constructor Detail

Gaussian1D

public Gaussian1D(Access2D<?> aCorrelationsMatrix)

Gaussian1D

public Gaussian1D(int aLength)
If the variables are uncorrelated.

Method Detail

generate

public Array1D<Double> generate()
An array of correlated random numbers, provided that you gave a correlations matrix to the constructor.

See Also:
Random1D.generate()

size

public int size()