Class TricubicFunction
java.lang.Object
org.apache.commons.math3.analysis.interpolation.TricubicFunction
- All Implemented Interfaces:
TrivariateFunction
3D-spline function.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
value
(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
-
TricubicFunction
TricubicFunction(double[] aV) - Parameters:
aV
- List of spline coefficients.
-
-
Method Details
-
value
Description copied from interface:TrivariateFunction
Compute the value for the function.- Specified by:
value
in 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
,y
orz
are not in the interval[0, 1]
.
-