org.spaceroots.mantissa.random
Interface NormalizedRandomGenerator

All Superinterfaces:
Serializable
All Known Implementing Classes:
GaussianRandomGenerator, UniformRandomGenerator

public interface NormalizedRandomGenerator
extends Serializable

This interface represent a normalized random generator for scalars. Normalized generator should provide null mean and unit standard deviation scalars.

Version:
$Id: NormalizedRandomGenerator.java 1709 2006-12-03 21:16:50Z luc $
Author:
L. Maisonobe

Method Summary
 double nextDouble()
          Generate a random scalar with null mean and unit standard deviation.
 

Method Detail

nextDouble

public double nextDouble()
Generate a random scalar with null mean and unit standard deviation.

This method does not specify the shape of the distribution, it is the implementing class that provides it. The only contract here is to generate numbers with null mean and unit standard deviation.

Returns:
a random scalar


Copyright © 2001-2007 Luc Maisonobe. All Rights Reserved.