Class TricubicSplineFunction
java.lang.Object
org.apache.commons.math3.analysis.interpolation.TricubicSplineFunction
- All Implemented Interfaces:
TrivariateFunction
3D-spline function.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublevalue(double x, double y, double z) Compute the value for the function.
-
Field Details
-
N
private static final short NNumber of points.- See Also:
-
a
private final double[][][] aCoefficients
-
-
Constructor Details
-
TricubicSplineFunction
TricubicSplineFunction(double[] aV) - Parameters:
aV- List of spline coefficients.
-
-
Method Details
-
value
Description copied from interface:TrivariateFunctionCompute the value for the function.- Specified by:
valuein interfaceTrivariateFunction- Parameters:
x- x-coordinate of the interpolation point.y- y-coordinate of the interpolation point.z- z-coordinate of the interpolation point.- Returns:
- the interpolated value.
- Throws:
OutOfRangeException- ifx,yorzare not in the interval[0, 1].
-