org.jscience.measure.random
Class RandomUtils

java.lang.Object
  extended by org.jscience.measure.random.RandomUtils

public final class RandomUtils
extends java.lang.Object

This is a useful collection of random related methods.


Method Summary
static ComplexDiagonalMatrix randomComplexDiagonalMatrix(int size)
          Creates a random generated diagonal matrix.
static ComplexSquareMatrix randomComplexSquareMatrix(int size)
          Creates a random generated square matrix.
static ComplexTridiagonalMatrix randomComplexTridiagonalMatrix(int size)
          Creates a random generated tridiagonal matrix.
static AbstractComplexVector randomComplexVector(int size)
          Creates a random generated vector.
static DoubleDiagonalMatrix randomDiagonalMatrix(int size)
          Creates a random generated diagonal matrix.
static DoubleSquareMatrix randomSquareMatrix(int size)
          Creates a random generated square matrix.
static DoubleTridiagonalMatrix randomTridiagonalMatrix(int size)
          Creates a random generated tridiagonal matrix.
static AbstractDoubleVector randomVector(int size)
          Creates a random generated vector.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

randomVector

public static AbstractDoubleVector randomVector(int size)
Creates a random generated vector.

Parameters:
size - DOCUMENT ME!
Returns:
DOCUMENT ME!

randomComplexVector

public static AbstractComplexVector randomComplexVector(int size)
Creates a random generated vector.

Parameters:
size - DOCUMENT ME!
Returns:
DOCUMENT ME!

randomSquareMatrix

public static DoubleSquareMatrix randomSquareMatrix(int size)
Creates a random generated square matrix.

Parameters:
size - DOCUMENT ME!
Returns:
DOCUMENT ME!

randomTridiagonalMatrix

public static DoubleTridiagonalMatrix randomTridiagonalMatrix(int size)
Creates a random generated tridiagonal matrix.

Parameters:
size - DOCUMENT ME!
Returns:
DOCUMENT ME!

randomDiagonalMatrix

public static DoubleDiagonalMatrix randomDiagonalMatrix(int size)
Creates a random generated diagonal matrix.

Parameters:
size - DOCUMENT ME!
Returns:
DOCUMENT ME!

randomComplexSquareMatrix

public static ComplexSquareMatrix randomComplexSquareMatrix(int size)
Creates a random generated square matrix.

Parameters:
size - DOCUMENT ME!
Returns:
DOCUMENT ME!

randomComplexTridiagonalMatrix

public static ComplexTridiagonalMatrix randomComplexTridiagonalMatrix(int size)
Creates a random generated tridiagonal matrix.

Parameters:
size - DOCUMENT ME!
Returns:
DOCUMENT ME!

randomComplexDiagonalMatrix

public static ComplexDiagonalMatrix randomComplexDiagonalMatrix(int size)
Creates a random generated diagonal matrix.

Parameters:
size - DOCUMENT ME!
Returns:
DOCUMENT ME!