/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/ |
H A D | MultivariateRealInterpolator.java | 38 * @param yval the values for the interpolation points 44 MultivariateRealFunction interpolate(double[][] xval, double[] yval) argument
|
H A D | UnivariateRealInterpolator.java | 32 * @param yval the values for the interpolation points 37 UnivariateRealFunction interpolate(double xval[], double yval[]) argument
|
H A D | BicubicSplineInterpolator.java | 38 final double[] yval, 41 if (xval.length == 0 || yval.length == 0 || fval.length == 0) { 49 MathUtils.checkOrder(yval); 52 final int yLen = yval.length; 56 // 0 <= j < yval.length 57 // fX[j][i] = f(xval[i], yval[j]) 82 xSplineY[i] = spInterpolator.interpolate(yval, fval[i]); 99 dFdY[i][j] = f.value(yval[j]); 113 ((xval[nI] - xval[pI]) * (yval[nJ] - yval[p 37 interpolate(final double[] xval, final double[] yval, final double[][] fval) argument [all...] |
H A D | BivariateRealGridInterpolator.java | 34 * @param yval All the y-coordinates of the interpolation points, sorted 37 * {@code fval[i][j] = f(xval[i], yval[j])}. 42 BivariateRealFunction interpolate(double[] xval, double[] yval, double[][] fval) argument
|
H A D | SmoothingBicubicSplineInterpolator.java | 51 final double[] yval, 54 if (xval.length == 0 || yval.length == 0 || zval.length == 0) { 62 MathUtils.checkOrder(yval, OrderDirection.INCREASING, true); 65 final int yLen = yval.length; 69 // 0 <= j < yval.length 70 // zX[j][i] = f(xval[i], yval[j]) 91 // For every knot (xval[i], yval[j]) of the grid, calculate corrected 105 xSplineY[i] = spInterpolator.interpolate(yval, zY_1[i]); 108 // For every knot (xval[i], yval[j]) of the grid, calculate corrected 114 zY_2[i][j] = f.value(yval[ 50 interpolate(final double[] xval, final double[] yval, final double[][] zval) argument [all...] |
H A D | SmoothingPolynomialBicubicSplineInterpolator.java | 75 final double[] yval, 78 if (xval.length == 0 || yval.length == 0 || fval.length == 0) { 86 final int yLen = yval.length; 95 MathUtils.checkOrder(yval); 109 // For every knot (xval[i], yval[j]) of the grid, calculate corrected 125 yFitter.addObservedPoint(1, yval[j], fval_1[i][j]); 131 // For every knot (xval[i], yval[j]) of the grid, calculate corrected 137 fval_2[i][j] = f.value(yval[j]); 141 return super.interpolate(xval, yval, fval_2); 74 interpolate(final double[] xval, final double[] yval, final double[][] fval) argument
|
H A D | TricubicSplineInterpolator.java | 36 final double[] yval, 40 if (xval.length == 0 || yval.length == 0 || zval.length == 0 || fval.length == 0) { 48 MathUtils.checkOrder(yval); 52 final int yLen = yval.length; 56 // fvalXY[k][i][j] = f(xval[i], yval[j], zval[k]) 57 // fvalZX[j][k][i] = f(xval[i], yval[j], zval[k]) 84 xSplineYZ[i] = bsi.interpolate(yval, zval, fval[i]); 98 zSplineXY[k] = bsi.interpolate(xval, yval, fvalXY[k]); 110 final double y = yval[j]; 124 final double y = yval[ 35 interpolate(final double[] xval, final double[] yval, final double[] zval, final double[][][] fval) argument [all...] |
H A D | TrivariateRealGridInterpolator.java | 35 * @param yval All the y-coordinates of the interpolation points, sorted 40 * {@code fval[i][j][k] = f(xval[i], yval[j], zval[k])}. 47 TrivariateRealFunction interpolate(double[] xval, double[] yval, double[] zval, double[][][] fval) argument
|
H A D | MicrosphereInterpolator.java | 84 final double[] yval) 88 return new MicrosphereInterpolatingFunction(xval, yval, 83 interpolate(final double[][] xval, final double[] yval) argument
|
H A D | BicubicSplineInterpolatingFunction.java | 62 private final double[] yval; field in class:BicubicSplineInterpolatingFunction 122 yval = y.clone(); 164 final int j = searchIndex(y, yval); 166 throw new OutOfRangeException(y, yval[0], yval[yval.length - 1]); 170 final double yN = (y - yval[j]) / (yval[j + 1] - yval[j]); 241 final int j = searchIndex(y, yval); [all...] |
H A D | LoessInterpolator.java | 170 * @param yval the values for the interpolation points 180 final double[] xval, final double[] yval) throws MathException { 181 return new SplineInterpolator().interpolate(xval, smooth(xval, yval)); 188 * @param yval the values for the interpolation points 199 public final double[] smooth(final double[] xval, final double[] yval, final double[] weights) argument 201 if (xval.length != yval.length) { 203 xval.length, yval.length); 213 checkAllFiniteReal(yval, LocalizedFormats.NON_REAL_FINITE_ORDINATE); 219 return new double[]{yval[0]}; 223 return new double[]{yval[ 179 interpolate( final double[] xval, final double[] yval) argument 359 smooth(final double[] xval, final double[] yval) argument [all...] |
H A D | MicrosphereInterpolatingFunction.java | 136 * @param yval the values for the interpolation points 141 * @throws DimensionMismatchException if the lengths of {@code yval} and 148 double[] yval, 157 if (xval.length != yval.length) { 158 throw new DimensionMismatchException(xval.length, yval.length); 165 samples = new HashMap<RealVector, Double>(yval.length); 172 samples.put(new ArrayRealVector(xvalI), yval[i]); 147 MicrosphereInterpolatingFunction(double[][] xval, double[] yval, int brightnessExponent, int microsphereElements, UnitSphereRandomVectorGenerator rand) argument
|
H A D | TricubicSplineInterpolatingFunction.java | 114 private final double[] yval; field in class:TricubicSplineInterpolatingFunction 193 yval = y.clone(); 314 final int j = searchIndex(y, yval); 316 throw new OutOfRangeException(y, yval[0], yval[yval.length - 1]); 324 final double yN = (y - yval[j]) / (yval[j + 1] - yval[j]);
|
/external/fio/ |
H A D | graph.c | 993 double yval, ydiff; local 998 yval = gety(v); 999 ydiff = fabs(yval - y); 1007 (yval >= miny && yval <= maxy)) {
|