public class ChartSpline extends Object implements ChartFunction
Constructor and Description |
---|
ChartSpline(Spline spline)
Creates a ChartSpline from a Spline.
|
ChartSpline(Spline spline,
int ideriv)
Creates a ChartSpline from the derivative of a Spline.
|
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.public double f(double x)
f
in interface ChartFunction
Copyright © 1970-2015 Rogue Wave Software
Built October 13 2015.