public class

NormalDistributionFunction2D

extends Object
implements Function2D
java.lang.Object
   ↳ org.jfree.data.function.NormalDistributionFunction2D

Class Overview

A normal distribution function. See http://en.wikipedia.org/wiki/Normal_distribution.

Summary

Public Constructors
NormalDistributionFunction2D(double mean, double std)
Constructs a new normal distribution function.
Public Methods
double getMean()
Returns the mean for the function.
double getStandardDeviation()
Returns the standard deviation for the function.
double getValue(double x)
Returns the function value.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.jfree.data.function.Function2D

Public Constructors

public NormalDistributionFunction2D (double mean, double std)

Constructs a new normal distribution function.

Parameters
mean the mean.
std the standard deviation (> 0).

Public Methods

public double getMean ()

Returns the mean for the function.

Returns
  • The mean.

public double getStandardDeviation ()

Returns the standard deviation for the function.

Returns
  • The standard deviation.

public double getValue (double x)

Returns the function value.

Parameters
x the x-value.
Returns
  • The value.