com.jidesoft.chart.fit
Class SplineEngine
java.lang.Object
com.jidesoft.chart.fit.SplineEngine
public class SplineEngine
- extends Object
Computes spline segments from arrays of points
Method Summary |
static double[] |
computeSplineSlopes(int numSegments,
double[] x,
double[] y)
|
static double[] |
lagrange(double[] x,
double[] y,
double[][] lagrangePolynomial)
Computes the Lagrange polynomial for a set of data points |
static double |
splineEval(double x,
double xStart,
double xEnd,
double yStart,
double yEnd,
double slope0,
double slope1)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SplineEngine
public SplineEngine()
splineEval
public static double splineEval(double x,
double xStart,
double xEnd,
double yStart,
double yEnd,
double slope0,
double slope1)
computeSplineSlopes
public static double[] computeSplineSlopes(int numSegments,
double[] x,
double[] y)
lagrange
public static double[] lagrange(double[] x,
double[] y,
double[][] lagrangePolynomial)
- Computes the Lagrange polynomial for a set of data points
- See Also:
- Wikipedia