|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ijchart.xychart.function.NormalDistributionFunction
public class NormalDistributionFunction
Title: IJChart
Description: a chart library for the Java(tm) platform.
The normal distribution function.Copyright: Copyright (c) 2013
Company:
Constructor Summary | |
---|---|
NormalDistributionFunction(double mean,
double stDev)
Create a standard diviation function. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Override equals method. |
double |
getMean()
Returns the mean. |
double |
getStDev()
Returns the standard deviation. |
double |
getY(double x)
Calculate the y value for a given inpu x. |
int |
hashCode()
Returns a hash code value for the object. |
java.lang.String |
toString()
Override toString method. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NormalDistributionFunction(double mean, double stDev)
mean
- double
The mean.stDev
- double
The standard deviation.Method Detail |
---|
public double getMean()
public double getStDev()
public double getY(double x)
getY
in interface IFunction
x
- double
The x value.
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Object
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |