Class MicrosphereInterpolatingFunction
java.lang.Object
org.apache.commons.math3.analysis.interpolation.MicrosphereInterpolatingFunction
- All Implemented Interfaces:
MultivariateFunction
@Deprecated
public class MicrosphereInterpolatingFunction
extends Object
implements MultivariateFunction
Deprecated.
Interpolating function that implements the
Microsphere Projection.
-
Constructor Summary
ConstructorsConstructorDescriptionMicrosphereInterpolatingFunction(double[][] xval, double[] yval, int brightnessExponent, int microsphereElements, UnitSphereRandomVectorGenerator rand) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiondoublevalue(double[] point) Deprecated.Compute the value for the function at the given point.
-
Constructor Details
-
MicrosphereInterpolatingFunction
public MicrosphereInterpolatingFunction(double[][] xval, double[] yval, int brightnessExponent, int microsphereElements, UnitSphereRandomVectorGenerator rand) throws DimensionMismatchException, NoDataException, NullArgumentException Deprecated.- Parameters:
xval- Arguments for the interpolation points.xval[i][0]is the first component of interpolation pointi,xval[i][1]is the second component, and so on untilxval[i][d-1], the last component of that interpolation point (wheredimensionis thus the dimension of the sampled space).yval- Values for the interpolation points.brightnessExponent- Brightness dimming factor.microsphereElements- Number of surface elements of the microsphere.rand- Unit vector generator for creating the microsphere.- Throws:
DimensionMismatchException- if the lengths ofyvalandxval(equal ton, the number of interpolation points) do not match, or the the arraysxval[0]...xval[n], have lengths different fromdimension.NoDataException- if there an array has zero-length.NullArgumentException- if an argument isnull.
-
-
Method Details
-
value
Deprecated.Description copied from interface:MultivariateFunctionCompute the value for the function at the given point.- Specified by:
valuein interfaceMultivariateFunction- Parameters:
point- Interpolation point.- Returns:
- the interpolated value.
- Throws:
DimensionMismatchException- if point dimension does not math sample
-
InterpolatingMicrosphereandMicrosphereProjectionInterpolatorinstead.