public class BicubicSplineInterpolator extends PiecewisePolynomialInterpolator2D
| Constructor and Description |
|---|
BicubicSplineInterpolator(PiecewisePolynomialInterpolator method)
Constructor using the same interpolation method for x0 and x1.
|
BicubicSplineInterpolator(PiecewisePolynomialInterpolator[] method)
Constructor which can take different methods for x0 and x1.
|
| Modifier and Type | Method and Description |
|---|---|
PiecewisePolynomialResult2D |
interpolate(double[] x0Values,
double[] x1Values,
double[][] yValues)
Given a set of data points (x0Values_i, x1Values_j, yValues_{ij}), 2d spline interpolation
is returned such that f(x0Values_i, x1Values_j) = yValues_{ij}.
|
getValue, interpolate, interpolatepublic BicubicSplineInterpolator(PiecewisePolynomialInterpolator[] method)
method - Choose 2 of PiecewisePolynomialInterpolatorpublic BicubicSplineInterpolator(PiecewisePolynomialInterpolator method)
method - PiecewisePolynomialInterpolatorpublic PiecewisePolynomialResult2D interpolate(double[] x0Values, double[] x1Values, double[][] yValues)
PiecewisePolynomialInterpolator2Dinterpolate in class PiecewisePolynomialInterpolator2Dx0Values - the valuesx1Values - the valuesyValues - the valuesPiecewisePolynomialResult2D containing positions of knots in x0 direction,
positions of knots in x1 direction, coefficients of interpolant,
number of intervals in x0 direction, number of intervals in x1 direction, order of polynomial functionCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.