public interface BoundSurfaceInterpolator
A bound interpolator is created from a SurfaceInterpolator.
The bind process takes the definition of the interpolator and combines it with the x-y-z values.
This allows implementations to optimize interpolation calculations.
| Modifier and Type | Method and Description |
|---|---|
ValueDerivatives |
firstPartialDerivatives(double x,
double y)
Computes the partial derivatives of the surface.
|
double |
interpolate(double x,
double y)
Computes the z-value for the specified x-y-value by interpolation.
|
DoubleArray |
parameterSensitivity(double x,
double y)
Computes the sensitivity of the x-y-value with respect to the surface parameters.
|
double interpolate(double x,
double y)
x - the x-value to find the z-value fory - the y-value to find the z-value forRuntimeException - if the z-value cannot be calculatedValueDerivatives firstPartialDerivatives(double x, double y)
The first derivatives are dz/dx and dz/dy.
The derivatives are in the following order:
x - the x-value at which the partial derivative is takeny - the y-value at which the partial derivative is takenRuntimeException - if the derivative cannot be calculatedDoubleArray parameterSensitivity(double x, double y)
This returns an array with one element for each parameter of the surface. The array contains the sensitivity of the z-value at the specified x-y-value to each parameter.
x - the x-value at which the parameter sensitivity is computedy - the y-value at which the parameter sensitivity is computedRuntimeException - if the sensitivity cannot be calculatedCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.