|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--gov.sns.tools.plot.BasicGraphData
|
+--gov.sns.tools.plot.CubicSplineGraphData
| Nested Class Summary |
| Nested classes inherited from class gov.sns.tools.plot.BasicGraphData |
BasicGraphData.CompareErr, BasicGraphData.CompareX, BasicGraphData.CompareY, BasicGraphData.XYpoint |
| Field Summary |
| Fields inherited from class gov.sns.tools.plot.BasicGraphData |
color, drawLinesOn, drawPointsOn, errYmax, graphDataContainerV, immediateContainerUpdate, lineStroke, lineThick, lockUpObj, markShape, markShapeFilled, name, nInterpPoints, pointSize, propertyMap, xMax, xMin, xyInterpPointV, xyPointV, yMax, yMin |
| Constructor Summary | |
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 |
|
| Method Summary | |
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)
this is a test method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CubicSplineGraphData()
public CubicSplineGraphData(int nPoint,
int nInterpPoints)
| Method Detail |
public double getValueY(double x)
getValueY in class BasicGraphDatapublic double getValueDerivativeY(double x)
getValueDerivativeY in class BasicGraphDataprotected void calculateRepresentation()
calculateRepresentation in class BasicGraphDatapublic static void main(java.lang.String[] args)
BasicGraphData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||