Class TricubicSplineInterpolatingFunction
- java.lang.Object
-
- org.apache.commons.math3.analysis.interpolation.TricubicSplineInterpolatingFunction
-
- All Implemented Interfaces:
TrivariateFunction
@Deprecated public class TricubicSplineInterpolatingFunction extends java.lang.Object implements TrivariateFunction
Deprecated.To be removed in 4.0 (see MATH-1166).Function that implements the tricubic spline interpolation, as proposed inTricubic interpolation in three dimensions, F. Lekien and J. Marsden, Int. J. Numer. Meth. Engng 2005; 63:455-471
- Since:
- 2.2
-
-
Constructor Summary
Constructors Constructor Description TricubicSplineInterpolatingFunction(double[] x, double[] y, double[] z, double[][][] f, double[][][] dFdX, double[][][] dFdY, double[][][] dFdZ, double[][][] d2FdXdY, double[][][] d2FdXdZ, double[][][] d2FdYdZ, double[][][] d3FdXdYdZ)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description doublevalue(double x, double y, double z)Deprecated.Compute the value for the function.
-
-
-
Constructor Detail
-
TricubicSplineInterpolatingFunction
public TricubicSplineInterpolatingFunction(double[] x, double[] y, double[] z, double[][][] f, double[][][] dFdX, double[][][] dFdY, double[][][] dFdZ, double[][][] d2FdXdY, double[][][] d2FdXdZ, double[][][] d2FdYdZ, double[][][] d3FdXdYdZ) throws NoDataException, DimensionMismatchException, NonMonotonicSequenceExceptionDeprecated.- Parameters:
x- Sample values of the x-coordinate, in increasing order.y- Sample values of the y-coordinate, in increasing order.z- Sample values of the y-coordinate, in increasing order.f- Values of the function on every grid point.dFdX- Values of the partial derivative of function with respect to x on every grid point.dFdY- Values of the partial derivative of function with respect to y on every grid point.dFdZ- Values of the partial derivative of function with respect to z on every grid point.d2FdXdY- Values of the cross partial derivative of function on every grid point.d2FdXdZ- Values of the cross partial derivative of function on every grid point.d2FdYdZ- Values of the cross partial derivative of function on every grid point.d3FdXdYdZ- Values of the cross partial derivative of function on every grid point.- Throws:
NoDataException- if any of the arrays has zero length.DimensionMismatchException- if the various arrays do not contain the expected number of elements.NonMonotonicSequenceException- ifx,yorzare not strictly increasing.
-
-
Method Detail
-
value
public double value(double x, double y, double z) throws OutOfRangeExceptionDeprecated.Compute the value for the function.- Specified by:
valuein interfaceTrivariateFunction- Parameters:
x- x-coordinate for which the function value should be computed.y- y-coordinate for which the function value should be computed.z- z-coordinate for which the function value should be computed.- Returns:
- the value.
- Throws:
OutOfRangeException- if any of the variables is outside its interpolation range.
-
-