ch.sahits.math
Class StandardNormalDistribution

java.lang.Object
  extended by ch.sahits.math.StandardNormalDistribution
All Implemented Interfaces:
IFunction

public class StandardNormalDistribution
extends java.lang.Object
implements IFunction

This class implements the standard normal distribution:

Version:
1.0
Author:
Andi Hotz (c) by Sahits.ch 2007

Constructor Summary
StandardNormalDistribution()
          Default constructor for the default standard normal distribution with mean=0.0 and diviation=1.0
StandardNormalDistribution(double m, double d)
          Constructor that initializes a different mean and diviation
 
Method Summary
 double f(double x)
          Implement the function

 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardNormalDistribution

public StandardNormalDistribution()
Default constructor for the default standard normal distribution with mean=0.0 and diviation=1.0


StandardNormalDistribution

public StandardNormalDistribution(double m,
                                  double d)
Constructor that initializes a different mean and diviation

Parameters:
m - mean
d - diviation
Method Detail

f

public double f(double x)
Implement the function

Specified by:
f in interface IFunction
Parameters:
x - value
Returns:
value of f(x)
See Also:
ch.sahits.civ.util.IFunction#f(double)