mmc
Class StandardNormal

java.lang.Object
  extended by mmc.MathModel
      extended by mmc.StandardNormal
All Implemented Interfaces:
FunctionInt, FunctionOfx

public class StandardNormal
extends MathModel
implements FunctionOfx, FunctionInt

This class provides routines for evaluation of random numbers distributed normally.


Field Summary
 Interpolate J
           
 boolean jt
           
 
Fields inherited from class mmc.MathModel
computerPrecision
 
Constructor Summary
StandardNormal()
          initializes class with default settings
StandardNormal(int romberg, int maxSteps, double precision)
          initializes the class
 
Method Summary
 double function(double x)
          function describes standard normal distribution - interface to Integral
 double functionInt(double x)
          1d parametrization - interface to Interpolate
 double sndpr(double x)
          evaluates the integrated probability
 double sndrn(double x)
          evaluates the standard normal random number
 double sndrn(double rnd, double average, double sigma, double xmin, double xmax, boolean cutoff)
          evaluates the standard normal random number
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

J

public Interpolate J

jt

public boolean jt
Constructor Detail

StandardNormal

public StandardNormal()
initializes class with default settings


StandardNormal

public StandardNormal(int romberg,
                      int maxSteps,
                      double precision)
initializes the class

Method Detail

sndpr

public double sndpr(double x)
evaluates the integrated probability


sndrn

public double sndrn(double x)
evaluates the standard normal random number


sndrn

public double sndrn(double rnd,
                    double average,
                    double sigma,
                    double xmin,
                    double xmax,
                    boolean cutoff)
evaluates the standard normal random number


function

public double function(double x)
function describes standard normal distribution - interface to Integral

Specified by:
function in interface FunctionOfx

functionInt

public double functionInt(double x)
1d parametrization - interface to Interpolate

Specified by:
functionInt in interface FunctionInt