|
JMSLTM Numerical Library 4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.imsl.chart.ChartSpline
Wrap a spline into a ChartFunction to be plotted.
Constructor Summary | |
ChartSpline(Spline spline)
Creates a ChartSpline from a Spline. |
|
ChartSpline(Spline spline,
int ideriv)
Creates a ChartSpline from the derivative of a Spline. |
Method Summary | |
double |
f(double x)
Function to be charted. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ChartSpline(Spline spline)
spline
- The Spline to be plotted.public ChartSpline(Spline spline, int ideriv)
spline
- The Spline to be plotted.ideriv
- The derivative to be plotted.
If zero, the function value is plotted.
If one, the first derivative is plotted, etc.Method Detail |
public double f(double x)
f
in interface ChartFunction
|
JMSLTM Numerical Library 4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |