|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math3.analysis.interpolation.BicubicSplineFunction
class BicubicSplineFunction
2D-spline function.
Field Summary | |
---|---|
private double[][] |
a
Coefficients |
private static short |
N
Number of points. |
private BivariateFunction |
partialDerivativeX
First partial derivative along x. |
private BivariateFunction |
partialDerivativeXX
Second partial derivative along x. |
private BivariateFunction |
partialDerivativeXY
Second crossed partial derivative. |
private BivariateFunction |
partialDerivativeY
First partial derivative along y. |
private BivariateFunction |
partialDerivativeYY
Second partial derivative along y. |
Constructor Summary | |
---|---|
BicubicSplineFunction(double[] a)
Simple constructor. |
Method Summary | |
---|---|
private double |
apply(double[] pX,
double[] pY,
double[][] coeff)
Compute the value of the bicubic polynomial. |
private void |
computePartialDerivatives()
Compute all partial derivatives functions. |
BivariateFunction |
partialDerivativeX()
|
BivariateFunction |
partialDerivativeXX()
|
BivariateFunction |
partialDerivativeXY()
|
BivariateFunction |
partialDerivativeY()
|
BivariateFunction |
partialDerivativeYY()
|
double |
value(double x,
double y)
Compute the value for the function. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final short N
private final double[][] a
private BivariateFunction partialDerivativeX
private BivariateFunction partialDerivativeY
private BivariateFunction partialDerivativeXX
private BivariateFunction partialDerivativeYY
private BivariateFunction partialDerivativeXY
Constructor Detail |
---|
public BicubicSplineFunction(double[] a)
a
- Spline coefficientsMethod Detail |
---|
public double value(double x, double y)
value
in interface BivariateFunction
x
- 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.
public BivariateFunction partialDerivativeX()
x
.public BivariateFunction partialDerivativeY()
y
.public BivariateFunction partialDerivativeXX()
x
.public BivariateFunction partialDerivativeYY()
y
.public BivariateFunction partialDerivativeXY()
private void computePartialDerivatives()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |