public class Spline2DInterpolate extends Spline2D
The class Spline2DInterpolate computes a tensor-product spline
interpolant. The tensor-product spline interpolant to data
, where
and
has the form
![]()
xOrder and yOrder in the constructor. Likewise, xKnots and
yKnots). These default values are selected by
Spline2DInterpolate. The algorithm requires that
![]()
![]()
The computation is motivated by the following observations. It is necessary to solve the system of equations
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Spline2DInterpolate is based on the
routine SPLI2D by de Boor (1978, p. 347).
| Constructor and Description |
|---|
Spline2DInterpolate(double[] xData,
double[] yData,
double[][] fData)
Constructor for
Spline2DInterpolate. |
Spline2DInterpolate(double[] xData,
double[] yData,
double[][] fData,
int xOrder,
int yOrder)
Constructor for
Spline2DInterpolate. |
Spline2DInterpolate(double[] xData,
double[] yData,
double[][] fData,
int xOrder,
int yOrder,
double[] xKnots,
double[] yKnots)
Constructor for
Spline2DInterpolate. |
public Spline2DInterpolate(double[] xData,
double[] yData,
double[][] fData)
Spline2DInterpolate.xData - a double array containing the data points
in the x-direction.yData - a double array containing the data points
in the y-direction.fData - a double matrix of size
xData.length by yData.length
containing the values to be interpolated.public Spline2DInterpolate(double[] xData,
double[] yData,
double[][] fData,
int xOrder,
int yOrder)
Spline2DInterpolate.xData - a double array containing the data points
in the x-direction.yData - a double array containing the data points
in the y-direction.fData - a double matrix of size
xData.length by yData.length
containing the values to be interpolated.xOrder - an int scalar value specifying the order
of the spline in the x-direction. xOrder must
be at least 1. Default: xOrder = 4,
tensor-product cubic spline.yOrder - an int scalar value specifying the order
of the spline in the y-direction. yOrder must
be at least 1. Default: yOrder = 4,
tensor-product cubic spline.public Spline2DInterpolate(double[] xData,
double[] yData,
double[][] fData,
int xOrder,
int yOrder,
double[] xKnots,
double[] yKnots)
Spline2DInterpolate.xData - a double array containing the data points
in the x-direction.yData - a double array containing the data points
in the y-direction.fData - a double matrix of size
xData.length by yData.length
containing the values to be interpolated.xOrder - an int scalar value specifying the order
of the spline in the x-direction. xOrder must
be at least 1. Default: xOrder = 4,
tensor-product cubic spline.yOrder - an int scalar value specifying the order
of the spline in the y-direction. yOrder must
be at least 1. Default: yOrder = 4,
tensor-product cubic spline.xKnots - a double array of size
xData.length + xOrder specifying the knot
sequences of the spline in the x-direction. Default knot
sequences are selected by the class.yKnots - a double array of size
yData.length + yOrder specifying the knot
sequences of the spline in the y-direction. Default knot
sequences are selected by the class.Copyright © 1970-2015 Rogue Wave Software
Built March 24 2015.