|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math.analysis.interpolation.MicrosphereInterpolatingFunction
public class MicrosphereInterpolatingFunction
Interpolating function that implements the Microsphere Projection.
| Constructor Summary | |
|---|---|
MicrosphereInterpolatingFunction(double[][] xval,
double[] yval,
int brightnessExponent,
int microsphereElements,
UnitSphereRandomVectorGenerator rand)
|
|
| Method Summary | |
|---|---|
double |
value(double[] point)
Compute the value for the function at the given point. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MicrosphereInterpolatingFunction(double[][] xval,
double[] yval,
int brightnessExponent,
int microsphereElements,
UnitSphereRandomVectorGenerator rand)
xval - the arguments for the interpolation points.
xval[i][0] is the first component of interpolation point
i, xval[i][1] is the second component, and so on
until xval[i][d-1], the last component of that interpolation
point (where dimension is thus the dimension of the sampled
space).yval - the values for the interpolation pointsbrightnessExponent - Brightness dimming factor.microsphereElements - Number of surface elements of the
microsphere.rand - Unit vector generator for creating the microsphere.
DimensionMismatchException - if the lengths of yval and
xval (equal to n, the number of interpolation points)
do not match, or the the arrays xval[0] ... xval[n],
have lengths different from dimension.
NoDataException - if there an array has zero-length.
NullArgumentException - if an argument is null.| Method Detail |
|---|
public double value(double[] point)
MultivariateRealFunction
value in interface MultivariateRealFunctionpoint - Interpolation point.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||