Class CCApplet.DensityFunction
java.lang.Object
|
+--CCApplet.DensityFunction
- Enclosing class:
- CCApplet
- class CCApplet.DensityFunction
- extends java.lang.Object
- implements Function
Provides a simple representation of the density function. At present,
this function does not use the correct units; it is just for show, and
is not depended upon in any calculations.
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
ratio
protected double ratio
multiplier
protected double multiplier
gapSize
protected double gapSize
CCApplet.DensityFunction
public CCApplet.DensityFunction(double gapSize)
evaluate
public double evaluate(double x)
- Specified by:
- evaluate in interface Function
getGapSize
public double getGapSize()
setGapSize
public void setGapSize(double d)
getRatio
public double getRatio()
setRatio
public void setRatio(double d)