org.apache.commons.math3.analysis.interpolation
class TricubicSplineFunction extends Object implements TrivariateFunction
Modifier and Type | Field and Description |
---|---|
private double[][][] |
a
Coefficients
|
private static short |
N
Number of points.
|
Constructor and Description |
---|
TricubicSplineFunction(double[] aV) |
private static final short N
private final double[][][] a
public TricubicSplineFunction(double[] aV)
aV
- List of spline coefficients.public double value(double x, double y, double z) throws OutOfRangeException
TrivariateFunction
value
in interface TrivariateFunction
x
- x-coordinate of the interpolation point.y
- y-coordinate of the interpolation point.z
- z-coordinate of the interpolation point.OutOfRangeException
- if x
, y
or
z
are not in the interval [0, 1]
.Copyright (c) 2003-2013 Apache Software Foundation