JIDE 3.5.15

com.jidesoft.chart.fit
Class SplineEngine

java.lang.Object
  extended by com.jidesoft.chart.fit.SplineEngine

public class SplineEngine
extends Object

Computes spline segments from arrays of points


Constructor Summary
SplineEngine()
           
 
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
 

Constructor Detail

SplineEngine

public SplineEngine()
Method Detail

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

JIDE 3.5.15