public class CubicSplineGraphData extends BasicGraphData
BasicGraphData.CompareErr, BasicGraphData.CompareX, BasicGraphData.CompareY, BasicGraphData.XYpointcolor, drawLinesOn, drawPointsOn, errYmax, graphDataContainerV, immediateContainerUpdate, lineStroke, lineThick, lockUpObj, markShape, markShapeFilled, name, nInterpPoints, pointSize, propertyMap, xMax, xMin, xyInterpPointV, xyPointV, yMax, yMin| Constructor and Description |
|---|
CubicSplineGraphData()
data set constructor
|
CubicSplineGraphData(int nPoint,
int nInterpPoints)
data set constructor with defined initial capacity
for number of (x,y) points and interpolated points
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculateRepresentation()
calculates the spline coefficients
|
double |
getValueDerivativeY(double x)
returns the y'-value for a certain x-value by using the spline interpolation schema
|
double |
getValueY(double x)
returns the y-value for a certain x-value by using the spline interpolation schema
|
static void |
main(java.lang.String[] args) |
addPoint, addPoint, addPoint, addPoint, getCapacity, getDrawLinesOn, getDrawPointsOn, getErr, getGraphColor, getGraphDataContainer, getGraphName, getGraphPointShape, getGraphPointSize, getGraphProperty, getGraphPropertyKeys, getGraphPropertySize, getImmediateContainerUpdate, getInterpX, getInterpY, getLineThick, getLockObject, getMaxErr, getMaxX, getMaxY, getMinX, getMinY, getNumberOfGraphDataContainers, getNumbOfInterpPoints, getNumbOfPoints, getStroke, getX, getY, init, isGraphPointShapeFilled, registerInContainer, removeAllPoints, removeContainer, removePoint, setDrawLinesOn, setDrawPointsOn, setGraphColor, setGraphName, setGraphPointFillingShape, setGraphPointShape, setGraphPointSize, setGraphProperty, setImmediateContainerUpdate, setLineDashPattern, setLineStroke, setLineThick, updateContainer, updateData, updatePoint, updatePoint, updateValues, updateValues, updateValuesY, updateValuesY, updateValueYpublic CubicSplineGraphData()
public CubicSplineGraphData(int nPoint,
int nInterpPoints)
public double getValueY(double x)
getValueY in class BasicGraphDatax - Description of the Parameterpublic double getValueDerivativeY(double x)
getValueDerivativeY in class BasicGraphDatax - Description of the Parameterprotected void calculateRepresentation()
calculateRepresentation in class BasicGraphDatapublic static void main(java.lang.String[] args)