Class TricubicFunction
- java.lang.Object
-
- org.apache.commons.math3.analysis.interpolation.TricubicFunction
-
- All Implemented Interfaces:
TrivariateFunction
class TricubicFunction extends java.lang.Object implements TrivariateFunction
3D-spline function.
-
-
Constructor Summary
Constructors Constructor Description TricubicFunction(double[] aV)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
value(double x, double y, double z)
Compute the value for the function.
-
-
-
Field Detail
-
N
private static final short N
Number of points.- See Also:
- Constant Field Values
-
a
private final double[][][] a
Coefficients
-
-
Method Detail
-
value
public double value(double x, double y, double z) throws OutOfRangeException
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]
.
-
-