public abstract class AbstractLinearIntervalsFunction extends Object
Modifier and Type | Field and Description |
---|---|
protected static double |
EPSILON
Numerical precision.
|
protected int |
nxmax
Maximal indices in the first dimension of fthe tab in dimension 1, 2 and 3.
|
protected int |
nymax
Maximal indices in the second dimension of ftab in dimension 2 and 3.
|
protected int |
nzmax
Maximal indices in the third dimension of ftab in dimension 3.
|
protected ISearchIndex |
searchXIndex
xtab used for search and satisfies condition from SearchIndex.
|
protected ISearchIndex |
searchYIndex
ytab used for search and satisfies condition from SearchIndex.
|
protected ISearchIndex |
searchZIndex
ztab used for search and satisfies condition from SearchIndex.
|
protected double[] |
xtab
Abscissas array.
|
protected double[] |
ytab
Ordinates array.
|
protected double[] |
ztab
Heights array.
|
Constructor and Description |
---|
AbstractLinearIntervalsFunction() |
Modifier and Type | Method and Description |
---|---|
double[] |
getxtab()
Gets xtab
|
protected double |
interp1D(double f0,
double f1,
double x0,
double x1,
double x)
Interpolates in 1D.
|
protected double |
interp2D(double fx0y0,
double fx1y0,
double fx0y1,
double fx1y1,
double x0,
double x1,
double y0,
double y1,
double x,
double y)
Interpolates in 2D by 2-successives 1D interpolation.
|
protected boolean |
isNan(double[] val)
Tests if an array of double contains NaN values.
|
protected static final double EPSILON
protected int nxmax
protected int nymax
protected int nzmax
protected double[] xtab
protected double[] ytab
protected double[] ztab
protected ISearchIndex searchXIndex
protected ISearchIndex searchYIndex
protected ISearchIndex searchZIndex
protected double interp1D(double f0, double f1, double x0, double x1, double x)
f0
- : f(x0)f1
- : f(x1)x0
- : lower boundx1
- : upper boundx
- : the point where to do the interpolationprotected double interp2D(double fx0y0, double fx1y0, double fx0y1, double fx1y1, double x0, double x1, double y0, double y1, double x, double y)
fx0y0
- : f(x0,y0): lower point for the 1st interpolation (the lower bound for the 2nd interpolation).fx1y0
- : f(x1,y0): upper point for the 1st interpolation (the lower bound for the 2nd interpolation).fx0y1
- : f(x0,y1): lower point for the 2nd interpolation (the upper bound for the 2nd interpolation).fx1y1
- : f(x1,y1): upper point for the 2nd interpolation (the upper bound for the 2nd interpolation).x0
- : lower bound for the first directionx1
- : upper bound for the first directiony0
- : lower bound for the second directiony1
- : upper bound for the second directionx
- : the point where to do the interpolation in the 1st directiony
- : the point where to do the interpolation in the 2nd directionprotected boolean isNan(double[] val)
val
- the arraypublic double[] getxtab()
Copyright © 2017 CNES. All rights reserved.