/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/ |
D | LoessInterpolator.java | 180 final double[] xval, final double[] yval) throws MathException { in interpolate() argument 181 return new SplineInterpolator().interpolate(xval, smooth(xval, yval)); in interpolate() 199 public final double[] smooth(final double[] xval, final double[] yval, final double[] weights) in smooth() argument 201 if (xval.length != yval.length) { in smooth() 203 xval.length, yval.length); in smooth() 213 checkAllFiniteReal(yval, LocalizedFormats.NON_REAL_FINITE_ORDINATE); in smooth() 219 return new double[]{yval[0]}; in smooth() 223 return new double[]{yval[0], yval[1]}; in smooth() 284 final double yk = yval[k]; in smooth() 310 residuals[i] = FastMath.abs(yval[i] - res[i]); in smooth() [all …]
|
D | BicubicSplineInterpolator.java | 38 final double[] yval, in interpolate() argument 41 if (xval.length == 0 || yval.length == 0 || fval.length == 0) { in interpolate() 49 MathUtils.checkOrder(yval); in interpolate() 52 final int yLen = yval.length; in interpolate() 82 xSplineY[i] = spInterpolator.interpolate(yval, fval[i]); in interpolate() 99 dFdY[i][j] = f.value(yval[j]); in interpolate() 113 ((xval[nI] - xval[pI]) * (yval[nJ] - yval[pJ])); in interpolate() 118 return new BicubicSplineInterpolatingFunction(xval, yval, fval, in interpolate()
|
D | SmoothingBicubicSplineInterpolator.java | 51 final double[] yval, in interpolate() argument 54 if (xval.length == 0 || yval.length == 0 || zval.length == 0) { in interpolate() 62 MathUtils.checkOrder(yval, OrderDirection.INCREASING, true); in interpolate() 65 final int yLen = yval.length; in interpolate() 105 xSplineY[i] = spInterpolator.interpolate(yval, zY_1[i]); in interpolate() 114 zY_2[i][j] = f.value(yval[j]); in interpolate() 132 dZdY[i][j] = f.value(yval[j]); in interpolate() 146 ((xval[nI] - xval[pI]) * (yval[nJ] - yval[pJ])); in interpolate() 151 return new BicubicSplineInterpolatingFunction(xval, yval, zY_2, in interpolate()
|
D | BicubicSplineInterpolatingFunction.java | 62 private final double[] yval; field in BicubicSplineInterpolatingFunction 122 yval = y.clone(); in BicubicSplineInterpolatingFunction() 164 final int j = searchIndex(y, yval); in value() 166 throw new OutOfRangeException(y, yval[0], yval[yval.length - 1]); in value() 170 final double yN = (y - yval[j]) / (yval[j + 1] - yval[j]); in value() 241 final int j = searchIndex(y, yval); in partialDerivative() 243 throw new OutOfRangeException(y, yval[0], yval[yval.length - 1]); in partialDerivative() 247 final double yN = (y - yval[j]) / (yval[j + 1] - yval[j]); in partialDerivative() 263 final int lastJ = yval.length - 1; in computePartialDerivatives()
|
D | TricubicSplineInterpolator.java | 36 final double[] yval, in interpolate() argument 40 if (xval.length == 0 || yval.length == 0 || zval.length == 0 || fval.length == 0) { in interpolate() 48 MathUtils.checkOrder(yval); in interpolate() 52 final int yLen = yval.length; in interpolate() 84 xSplineYZ[i] = bsi.interpolate(yval, zval, fval[i]); in interpolate() 98 zSplineXY[k] = bsi.interpolate(xval, yval, fvalXY[k]); in interpolate() 110 final double y = yval[j]; in interpolate() 124 final double y = yval[j]; in interpolate() 163 ((xval[nI] - xval[pI]) * (yval[nJ] - yval[pJ]) * (zval[nK] - zval[pK])) ; in interpolate() 169 return new TricubicSplineInterpolatingFunction(xval, yval, zval, fval, in interpolate()
|
D | SmoothingPolynomialBicubicSplineInterpolator.java | 75 final double[] yval, in interpolate() argument 78 if (xval.length == 0 || yval.length == 0 || fval.length == 0) { in interpolate() 86 final int yLen = yval.length; in interpolate() 95 MathUtils.checkOrder(yval); in interpolate() 125 yFitter.addObservedPoint(1, yval[j], fval_1[i][j]); in interpolate() 137 fval_2[i][j] = f.value(yval[j]); in interpolate() 141 return super.interpolate(xval, yval, fval_2); in interpolate()
|
D | MicrosphereInterpolatingFunction.java | 148 double[] yval, in MicrosphereInterpolatingFunction() argument 157 if (xval.length != yval.length) { in MicrosphereInterpolatingFunction() 158 throw new DimensionMismatchException(xval.length, yval.length); in MicrosphereInterpolatingFunction() 165 samples = new HashMap<RealVector, Double>(yval.length); in MicrosphereInterpolatingFunction() 172 samples.put(new ArrayRealVector(xvalI), yval[i]); in MicrosphereInterpolatingFunction()
|
D | TricubicSplineInterpolatingFunction.java | 114 private final double[] yval; field in TricubicSplineInterpolatingFunction 193 yval = y.clone(); in TricubicSplineInterpolatingFunction() 314 final int j = searchIndex(y, yval); in value() 316 throw new OutOfRangeException(y, yval[0], yval[yval.length - 1]); in value() 324 final double yN = (y - yval[j]) / (yval[j + 1] - yval[j]); in value()
|
D | MicrosphereInterpolator.java | 84 final double[] yval) in interpolate() argument 88 return new MicrosphereInterpolatingFunction(xval, yval, in interpolate()
|
D | UnivariateRealInterpolator.java | 37 UnivariateRealFunction interpolate(double xval[], double yval[]) in interpolate() argument
|
D | BivariateRealGridInterpolator.java | 42 BivariateRealFunction interpolate(double[] xval, double[] yval, double[][] fval) in interpolate() argument
|
D | MultivariateRealInterpolator.java | 44 MultivariateRealFunction interpolate(double[][] xval, double[] yval) in interpolate() argument
|
D | TrivariateRealGridInterpolator.java | 47 … TrivariateRealFunction interpolate(double[] xval, double[] yval, double[] zval, double[][][] fval) in interpolate() argument
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | readability-magic-numbers.cpp | 157 explicit Point(T xval, T yval) noexcept : x{xval}, y{yval} { in Point() 166 explicit Dimension(T xval, T yval) noexcept : x{xval}, y{yval} { in Dimension()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | 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)
|
D | 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/ |
D | analyzer.cc | 262 int64_t yval; in render() local 270 yval = *(y16 - y_width_padding); in render() 274 yval = *(y - y_width_padding); in render() 280 yval -= 16; in render() 282 yval = 128; in render() 290 2916394880000LL * yval + 4490222169144LL * crval, 9745792000LL), in render() 293 (int32_t)OD_DIV_ROUND(2916394880000LL * yval - in render() 301 2916394880000LL * yval + 5290866304968LL * cbval, 9745792000LL), in render()
|
/external/llvm-project/llvm/test/Transforms/LoopStrengthReduce/X86/ |
D | macro-fuse-cmp.ll | 129 %yval = load <2 x double>, <2 x double>* %yptr, align 8 130 %cmp = fcmp ogt <2 x double> %yval, %xval 131 %max = select <2 x i1> %cmp, <2 x double> %yval, <2 x double> %xval
|
/external/starlark-go/starlark/ |
D | value.go | 821 if yval, found, _ := y.Get(key); !found { 823 } else if eq, err := EqualDepth(xval, yval, depth-1); err != nil {
|