Home
last modified time | relevance | path

Searched refs:yval (Results 1 – 19 of 19) sorted by relevance

/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/
DLoessInterpolator.java180 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 …]
DBicubicSplineInterpolator.java38 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()
DSmoothingBicubicSplineInterpolator.java51 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()
DBicubicSplineInterpolatingFunction.java62 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()
DTricubicSplineInterpolator.java36 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()
DSmoothingPolynomialBicubicSplineInterpolator.java75 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()
DMicrosphereInterpolatingFunction.java148 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()
DTricubicSplineInterpolatingFunction.java114 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()
DMicrosphereInterpolator.java84 final double[] yval) in interpolate() argument
88 return new MicrosphereInterpolatingFunction(xval, yval, in interpolate()
DUnivariateRealInterpolator.java37 UnivariateRealFunction interpolate(double xval[], double yval[]) in interpolate() argument
DBivariateRealGridInterpolator.java42 BivariateRealFunction interpolate(double[] xval, double[] yval, double[][] fval) in interpolate() argument
DMultivariateRealInterpolator.java44 MultivariateRealFunction interpolate(double[][] xval, double[] yval) in interpolate() argument
DTrivariateRealGridInterpolator.java47 … TrivariateRealFunction interpolate(double[] xval, double[] yval, double[] zval, double[][][] fval) in interpolate() argument
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dreadability-magic-numbers.cpp157 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/
Dstage_op_test.py49 _, 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)
Dmap_stage_op_test.py52 _, 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/
Danalyzer.cc262 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/
Dmacro-fuse-cmp.ll129 %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/
Dvalue.go821 if yval, found, _ := y.Get(key); !found {
823 } else if eq, err := EqualDepth(xval, yval, depth-1); err != nil {