class BicubicFunction extends java.lang.Object implements BivariateFunction
| Modifier and Type | Field and Description |
|---|---|
private double[][] |
a
Coefficients
|
private static short |
N
Number of points.
|
| Constructor and Description |
|---|
BicubicFunction(double[] coeff)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private double |
apply(double[] pX,
double[] pY,
double[][] coeff)
Compute the value of the bicubic polynomial.
|
double |
value(double x,
double y)
Compute the value for the function.
|
private static final short N
private final double[][] a
public BicubicFunction(double[] coeff)
coeff - Spline coefficients.public double value(double x,
double y)
value in interface BivariateFunctionx - Abscissa for which the function value should be computed.y - Ordinate for which the function value should be computed.private double apply(double[] pX,
double[] pY,
double[][] coeff)
pX - Powers of the x-coordinate.pY - Powers of the y-coordinate.coeff - Spline coefficients.Copyright (c) 2003-2017 Apache Software Foundation