Top Description Fields Constructors Methods
org.apache.commons.math3.analysis.interpolation

pack-priv Class TricubicFunction

Located in compilation unit of org.apache.commons.math3.analysis.interpolation.TricubicInterpolatingFunction.

extends Object
implements TrivariateFunction
Class Inheritance
All Implemented Interfaces
org.apache.commons.math3.analysis.TrivariateFunction

3D-spline function.

Field Summary

Modifier and TypeField and Description
private final double[][][]
a

Coefficients

private static final short
N

Number of points.

Constructor Summary

AccessConstructor and Description
pack-priv
TricubicFunction(double[]
List of spline coefficients.
aV
)

Method Summary

Modifier and TypeMethod and Description
public double

Returns:

the interpolated value.
value
(double
x-coordinate of the interpolation point.
x
,
double
y-coordinate of the interpolation point.
y
,
double
z-coordinate of the interpolation point.
z
)

Implements org.apache.commons.math3.analysis.TrivariateFunction.value.

Compute the value for the function.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

aback to summary
private final double[][][] a

Coefficients

Nback to summary
private static final short N

Number of points.

Constructor Detail

TricubicFunctionback to summary
pack-priv TricubicFunction(double[] aV)
Parameters
aV:double[]

List of spline coefficients.

Method Detail

valueback to summary
public double value(double x, double y, double z) throws OutOfRangeException

Implements org.apache.commons.math3.analysis.TrivariateFunction.value.

Doc from org.apache.commons.math3.analysis.TrivariateFunction.value.

Compute the value for the function.

Parameters
x:double

x-coordinate of the interpolation point.

y:double

y-coordinate of the interpolation point.

z:double

z-coordinate of the interpolation point.

Returns:double

the interpolated value.

Exceptions
OutOfRangeException:
if x, y or z are not in the interval [0, 1].