/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/ |
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)
|
MultivariateRealInterpolator.java | 38 * @param yval the values for the interpolation points 44 MultivariateRealFunction interpolate(double[][] xval, double[] yval)
|
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)
|
UnivariateRealInterpolator.java | 32 * @param yval the values for the interpolation points 37 UnivariateRealFunction interpolate(double xval[], double yval[])
|
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);
|
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[j]) [all...] |
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) 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[0], yval[1]} [all...] |
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[pJ])) [all...] |
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[j] [all...] |
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...] |
MicrosphereInterpolator.java | 84 final double[] yval) 88 return new MicrosphereInterpolatingFunction(xval, yval,
|
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]);
|
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]);
|
/bionic/tests/ |
stdatomic_test.cpp | 214 uint_least32_t xval = 0, yval = 0, zval = 0; local 217 while (yval != BIG + 1) { 218 yval = atomic_load_explicit(&a->y, memory_order_acquire); 223 if (zval < yval) { 226 << zval << " < " << yval << ", " << xval << "\n"; 229 if (xval < yval) { 232 << xval << " < " << yval << ", " << zval << "\n";
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
stage_op_test.py | 49 _, yval = sess.run([stage, y], feed_dict={x: i}) 50 self.assertAllClose(4 * (i - 1) * (i - 1) * 128, yval, rtol=1e-4) 69 _, yval = sess.run([stage, y], feed_dict={x: i}) 71 4 * (i - 1) * (i - 1) * (i - 1) * 128, yval, rtol=1e-4) 95 _, yval = sess.run([stage, y], feed_dict={x: i}) 97 4 * (i - 1) * (i - 1) * (i - 1) * 128, yval, rtol=1e-4)
|
map_stage_op_test.py | 52 _, yval = sess.run([stage, y], feed_dict={x: i, pi: i + 1, gi: i}) 53 self.assertAllClose(4 * (i - 1) * (i - 1) * 128, yval, rtol=1e-4) 74 _, yval = sess.run([stage, y], feed_dict={x: i, pi: i + 1, gi: i}) 76 4 * (i - 1) * (i - 1) * (i - 1) * 128, yval, rtol=1e-4) 102 _, yval = sess.run([stage, y], feed_dict={x: i, pi: i + 1, gi: i}) 104 4 * (i - 1) * (i - 1) * (i - 1) * 128, yval, rtol=1e-4)
|
/external/libaom/libaom/examples/ |
analyzer.cc | 262 int64_t yval; local 270 yval = *(y16 - y_width_padding); 274 yval = *(y - y_width_padding); 280 yval -= 16; 282 yval = 128; 290 2916394880000LL * yval + 4490222169144LL * crval, 9745792000LL), 293 (int32_t)OD_DIV_ROUND(2916394880000LL * yval - 301 2916394880000LL * yval + 5290866304968LL * cbval, 9745792000LL),
|