Formula 1.0.0

hirondelle.formula.function.builtin
Class RandomGaussian

Object
  extended by hirondelle.formula.function.builtin.RandomGaussian
All Implemented Interfaces:
Function

public final class RandomGaussian
extends Object
implements Function

randg(mean, variance): a pseudo-random number with a gaussian distribution.


Constructor Summary
RandomGaussian()
           
 
Method Summary
 Decimal calculate(Decimal... aArgs)
          Takes two arguments, representing the mean and the variance, respectively, of the gaussian distribution.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomGaussian

public RandomGaussian()
Method Detail

calculate

public Decimal calculate(Decimal... aArgs)
Takes two arguments, representing the mean and the variance, respectively, of the gaussian distribution.

Specified by:
calculate in interface Function
Parameters:
aArgs - 0 or more arguments to the function.

Formula 1.0.0

Copyright Hirondelle Systems. Published January 31, 2013