Package org.esa.snap.core.util.math
Class FXYSum.BiLinear
- java.lang.Object
-
- org.esa.snap.core.util.math.FXYSum
-
- org.esa.snap.core.util.math.FXYSum.BiLinear
-
- Enclosing class:
- FXYSum
public static final class FXYSum.BiLinear extends FXYSum
Provides an optimizedcomputeZ
method for bi-linear polynomials (order = 1+1).- See Also:
FXYSum.FXY_BI_LINEAR
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.esa.snap.core.util.math.FXYSum
FXYSum.BiCubic, FXYSum.BiLinear, FXYSum.BiQuadric, FXYSum.Cubic, FXYSum.Linear, FXYSum.Quadric
-
-
Field Summary
-
Fields inherited from class org.esa.snap.core.util.math.FXYSum
FXY_4TH, FXY_BI_4TH, FXY_BI_CUBIC, FXY_BI_LINEAR, FXY_BI_QUADRATIC, FXY_CUBIC, FXY_LINEAR, FXY_QUADRATIC
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
computeZ(double x, double y)
Computes this sum of function terms z(x,y) = sum(c[i] * f[i](x,y), i=0, n-1).-
Methods inherited from class org.esa.snap.core.util.math.FXYSum
appendCFunctionCodeBody, appendCFunctionCodeEnd, appendCFunctionCodePart, appendCFunctionCodeStart, approximate, computeZ, createCFunctionCode, createCopy, createFXYSum, getCoefficients, getFunctions, getMaxError, getNumTerms, getOrder, getRootMeanSquareError
-
-
-
-
Method Detail
-
computeZ
public double computeZ(double x, double y)
Description copied from class:FXYSum
Computes this sum of function terms z(x,y) = sum(c[i] * f[i](x,y), i=0, n-1). The method will return zero unless theFXYSum.approximate(double[][], int[])
is called in order to set the coefficient vector c.- Overrides:
computeZ
in classFXYSum
- Parameters:
x
- the x valuey
- the y value- Returns:
- the z value
- See Also:
FXYSum.computeZ(FXY[], double[], double, double)
-
-