Top Description Fields Constructors Methods
org.apache.commons.math3.analysis.interpolation

pack-priv Class BicubicFunction

Located in compilation unit of org.apache.commons.math3.analysis.interpolation.BicubicInterpolatingFunction.

extends Object
implements BivariateFunction
Class Inheritance
All Implemented Interfaces
org.apache.commons.math3.analysis.BivariateFunction

Bicubic function.

Field Summary

Modifier and TypeField and Description
private final double[][]
a

Coefficients

private static final short
N

Number of points.

Constructor Summary

AccessConstructor and Description
pack-priv
BicubicFunction(double[]
Spline coefficients.
coeff
)

Simple constructor.

Method Summary

Modifier and TypeMethod and Description
private double

Returns:

the interpolated value.
apply
(double[]
Powers of the x-coordinate.
pX
,
double[]
Powers of the y-coordinate.
pY
,
double[][]
Spline coefficients.
coeff
)

Compute the value of the bicubic polynomial.

public double
value(double
Abscissa for which the function value should be computed.
x
,
double
Ordinate for which the function value should be computed.
y
)

Implements org.apache.commons.math3.analysis.BivariateFunction.value.

Compute the value for the function.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

aback to summary
private final double[][] a

Coefficients

Nback to summary
private static final short N

Number of points.

Constructor Detail

BicubicFunctionback to summary
pack-priv BicubicFunction(double[] coeff)

Simple constructor.

Parameters
coeff:double[]

Spline coefficients.

Method Detail

applyback to summary
private double apply(double[] pX, double[] pY, double[][] coeff)

Compute the value of the bicubic polynomial.

Parameters
pX:double[]

Powers of the x-coordinate.

pY:double[]

Powers of the y-coordinate.

coeff:double[][]

Spline coefficients.

Returns:double

the interpolated value.

valueback to summary
public double value(double x, double y)

Implements org.apache.commons.math3.analysis.BivariateFunction.value.

Doc from org.apache.commons.math3.analysis.BivariateFunction.value.

Compute the value for the function.

Parameters
x:double

Abscissa for which the function value should be computed.

y:double

Ordinate for which the function value should be computed.

Returns:double

the value.