Searched defs:yval (Results 1 - 14 of 14) sorted by relevance

/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/
H A DMultivariateRealInterpolator.java38 * @param yval the values for the interpolation points
44 MultivariateRealFunction interpolate(double[][] xval, double[] yval) argument
H A DUnivariateRealInterpolator.java32 * @param yval the values for the interpolation points
37 UnivariateRealFunction interpolate(double xval[], double yval[]) argument
H A DBicubicSplineInterpolator.java38 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 DBivariateRealGridInterpolator.java34 * @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 DSmoothingBicubicSplineInterpolator.java51 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 DSmoothingPolynomialBicubicSplineInterpolator.java75 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 DTricubicSplineInterpolator.java36 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 DTrivariateRealGridInterpolator.java35 * @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 DMicrosphereInterpolator.java84 final double[] yval)
88 return new MicrosphereInterpolatingFunction(xval, yval,
83 interpolate(final double[][] xval, final double[] yval) argument
H A DBicubicSplineInterpolatingFunction.java62 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 DLoessInterpolator.java170 * @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 DMicrosphereInterpolatingFunction.java136 * @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 DTricubicSplineInterpolatingFunction.java114 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 Dgraph.c993 double yval, ydiff; local
998 yval = gety(v);
999 ydiff = fabs(yval - y);
1007 (yval >= miny && yval <= maxy)) {

Completed in 161 milliseconds