All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class crw.data2.FunctionData2

java.lang.Object
   |
   +----crw.data2.Data2
           |
           +----crw.data2.FunctionData2

public abstract class FunctionData2
extends Data2
Superclass of all FunctionData types. Its superclass constructor Data2() sets the x-range and y-range. As such, the function-f may not depend on any instance variable values, but it may depend on static class variables, initialized in a static initializer .


Constructor Index

 o FunctionData2(double, double)

Method Index

 o f(double)
 o getX()
 o getY()
 o setRange()
Sets y-range using calculated y-data.

Constructors

 o FunctionData2
 protected FunctionData2(double min,
                         double max)

Methods

 o f
 public abstract double f(double x)
 o getX
 public double[] getX()
Overrides:
getX in class Data2
 o getY
 public double[] getY()
Overrides:
getY in class Data2
 o setRange
 public void setRange()
Sets y-range using calculated y-data. X-range should have been set using setXRange(double, double). Overrides Data2.setRange().

Overrides:
setRange in class Data2

All Packages  Class Hierarchy  This Package  Previous  Next  Index