/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/ |
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...] |
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...] |
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...] |
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)
|
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);
|
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...] |
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)
|
MultivariateRealInterpolator.java | 38 * @param yval the values for the interpolation points 44 MultivariateRealFunction interpolate(double[][] xval, double[] yval)
|
UnivariateRealInterpolator.java | 32 * @param yval the values for the interpolation points 37 UnivariateRealFunction interpolate(double xval[], double 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]);
|
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,
|
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 | 47 _, yval = sess.run([stage, y], feed_dict={x: i}) 48 self.assertAllClose(4 * (i - 1) * (i - 1) * 128, yval, rtol=1e-4) 66 _, yval = sess.run([stage, y], feed_dict={x: i}) 68 4 * (i - 1) * (i - 1) * (i - 1) * 128, yval, rtol=1e-4) 91 _, yval = sess.run([stage, y], feed_dict={x: i}) 93 4 * (i - 1) * (i - 1) * (i - 1) * 128, yval, rtol=1e-4)
|
map_stage_op_test.py | 50 _, yval = sess.run([stage, y], feed_dict={x: i, pi: i + 1, gi: i}) 51 self.assertAllClose(4 * (i - 1) * (i - 1) * 128, yval, rtol=1e-4) 71 _, yval = sess.run([stage, y], feed_dict={x: i, pi: i + 1, gi: i}) 73 4 * (i - 1) * (i - 1) * (i - 1) * 128, yval, rtol=1e-4) 98 _, yval = sess.run([stage, y], feed_dict={x: i, pi: i + 1, gi: i}) 100 4 * (i - 1) * (i - 1) * (i - 1) * 128, yval, rtol=1e-4)
|
/external/clang/test/CodeGenObjCXX/ |
lambda-expressions.mm | 68 // ARC-NEXT: [[YVAL:%.*]] = load i32, i32* [[Y]], align 4 69 // ARC-NEXT: ret i32 [[YVAL]]
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
XYGraphWidget.java | 484 public void drawRangeTick(Canvas canvas, float yPix, Number yVal,
505 drawTickText(canvas, XYAxisType.RANGE, yVal, xPix, yPix - rangeLabelVerticalOffset,
631 double yVal;
635 yVal = plot.getRangeOrigin().doubleValue() + i
639 drawRangeTick(canvas, yPix, yVal, rangeLabelPaint,
642 drawRangeTick(canvas, yPix, yVal, rangeLabelPaint,
653 double yVal;
657 yVal = plot.getRangeOrigin().doubleValue() - i
661 drawRangeTick(canvas, yPix, yVal, rangeLabelPaint,
664 drawRangeTick(canvas, yPix, yVal, rangeLabelPaint, [all...] |
SimpleXYSeries.java | 190 * @param yVal
193 public void setXY(Number xVal, Number yVal, int index) {
196 yVals.set(index, yVal);
|
BarRenderer.java | 123 * Build the axisMap (yVal,BarGroup)... a TreeMap of BarGroups
304 public double yVal, xVal;
318 this.yVal = series.getY(seriesIndex).doubleValue();
319 this.pixY = ValPixConverter.valToPix(yVal, getPlot().getCalculatedMinY().doubleValue(), getPlot().getCalculatedMaxY().doubleValue(), plotArea.height(), true) + plotArea.top;
322 this.yVal = 0;
|
LineAndPointFormatter.java | 35 // default implementation prints point's yVal:
|
/external/fio/ |
graph.c | 993 double yval, ydiff; local 998 yval = gety(v); 999 ydiff = fabs(yval - y); 1007 (yval >= miny && yval <= maxy)) {
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
ImageReaderSubPane.java | 364 int yval = row[i] & 0xFF; local 368 imgArray[j] = Color.rgb(yval, uval, vval);
|
/prebuilts/go/darwin-x86/src/go/types/ |
expr.go | 666 yval := constant.ToInt(y.val) 667 if yval.Kind() != constant.Int { 674 s, ok := constant.Uint64Val(yval) 835 yval := y.val 841 x.val = constant.BinaryOp(xval, op, yval) [all...] |
/prebuilts/go/linux-x86/src/go/types/ |
expr.go | 666 yval := constant.ToInt(y.val) 667 if yval.Kind() != constant.Int { 674 s, ok := constant.Uint64Val(yval) 835 yval := y.val 841 x.val = constant.BinaryOp(xval, op, yval) [all...] |