/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ |
LineRegion.java | 24 private Number minVal;
42 return maxVal.doubleValue() - minVal.doubleValue();
51 return value.doubleValue() >= minVal.doubleValue() && value.doubleValue() <= maxVal.doubleValue();
74 if(line2Min.doubleValue() <= this.minVal.doubleValue() && line2Max.doubleValue() >= this.maxVal.doubleValue()) {
81 return minVal;
84 public void setMinVal(Number minVal) {
85 if(minVal == null) {
88 this.minVal = minVal;
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
api_def_RandomUniformInt.pbtxt | 10 name: "minval" 43 The generated values are uniform integers in the range `[minval, maxval)`. 44 The lower bound `minval` is included in the range, while the upper bound 47 The random integers are slightly biased unless `maxval - minval` is an exact 48 power of two. The bias is small for values of `maxval - minval` significantly
|
api_def_ParameterizedTruncatedNormal.pbtxt | 30 The maximum cutoff. May be +infinity, and must be more than the minval
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
XYStepCalculator.java | 34 * @param minVal
38 public static XYStep getStep(XYPlot plot, XYAxisType axisType, RectF rect, Number minVal, Number maxVal) {
42 step = getStep(plot.getDomainStepMode(), rect.width(), plot.getDomainStepValue(), minVal, maxVal);
45 step = getStep(plot.getRangeStepMode(), rect.height(), plot.getRangeStepValue(), minVal, maxVal);
51 public static XYStep getStep(XYStepMode typeXY, float plotPixelSize, double stepValue, Number minVal, Number maxVal) {
59 stepPix = (float)(stepValue/ ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize));
65 stepVal = ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize)*stepPix;
70 stepVal = ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize)*stepPix;
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/ |
XYStepCalculatorTest.java | 45 double minVal = 0;
47 XYStep step = XYStepCalculator.getStep(XYStepMode.SUBDIVIDE, plotSize, numSegments, minVal, maxVal);
53 minVal = 1000000000;
55 step = XYStepCalculator.getStep(XYStepMode.SUBDIVIDE, plotSize, numSegments, minVal, maxVal);
|
/external/deqp/framework/randomshaders/ |
rsgUtils.cpp | 67 float minVal = valueRange.component(ndx).getMin().asFloat(); 69 dst.component(ndx).asFloat() = getQuantizedFloat(rnd, minVal, maxVal, quantizeStep); 76 int minVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; 78 dst.component(ndx).asBool() = rnd.getInt(minVal, maxVal) == 1; 87 int minVal = valueRange.component(ndx).getMin().asInt(); 89 dst.component(ndx).asInt() = rnd.getInt(minVal, maxVal); 195 bool minVal = rnd.getBool(); 196 bool maxVal = minVal ? true : rnd.getBool(); 197 valueRange.getMin().component(ndx).asBool() = minVal; 210 int minVal = minIntVal + rnd.getInt(0, maxRangeLen-rangeLen) [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldAndroidTreeMapTest.java | 45 int minVal = Integer.MAX_VALUE; 51 if (val < minVal) { 52 minVal = val; 67 if (SPEW) System.out.println("minVal = " + minVal); 70 assertEquals(minVal, tm.firstKey().intValue());
|
/external/deqp/modules/gles2/functional/ |
es2fShaderAlgorithmTests.cpp | 213 << "mediump float minVal = min(min(r, g), b);" 215 << "mediump float L = (minVal + maxVal) * 0.5;" 216 << "if (minVal == maxVal)" 223 << " S = (maxVal - minVal) / (maxVal + minVal);" 225 << " S = (maxVal - minVal) / (2.0 - maxVal - minVal);" 227 << " mediump float ooDiff = 1.0 / (maxVal - minVal);" 239 float minVal = min(min(r, g), b); 241 float L = (minVal + maxVal) * 0.5f [all...] |
/external/tensorflow/tensorflow/tools/api/golden/ |
tensorflow.initializers.random_uniform.pbtxt | 8 argspec: "args=[\'self\', \'minval\', \'maxval\', \'seed\', \'dtype\'], varargs=None, keywords=None, defaults=[\'0\', \'None\', \'None\', \"<dtype: \'float32\'>\"], "
|
tensorflow.keras.initializers.-random-uniform.pbtxt | 8 argspec: "args=[\'self\', \'minval\', \'maxval\', \'seed\', \'dtype\'], varargs=None, keywords=None, defaults=[\'0\', \'None\', \'None\', \"<dtype: \'float32\'>\"], "
|
tensorflow.random_uniform_initializer.pbtxt | 8 argspec: "args=[\'self\', \'minval\', \'maxval\', \'seed\', \'dtype\'], varargs=None, keywords=None, defaults=[\'0\', \'None\', \'None\', \"<dtype: \'float32\'>\"], "
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
parameterized_truncated_normal_op_test.py | 42 minval = None variable in class:TruncatedNormalMoments 45 def __init__(self, mean, stddev, minval, maxval): 50 self.minval = np.double(max(-10, minval)) 74 np.power(self.minval, k - 1) * dist.pdf(self.minval)) 75 denominator = dist.cdf(self.maxval) - dist.cdf(self.minval) 112 def validateMoments(self, shape, mean, stddev, minval, maxval, seed=1618): 120 minval, 124 expected_moments = TruncatedNormalMoments(mean, stddev, minval, maxval [all...] |
/external/mesa3d/src/util/ |
format_srgb.h | 84 } almostone, minval, f; local 88 minval.ui = (127-13) << 23; 95 if (!(x > minval.f)) 96 x = minval.f; 102 tab = util_format_linear_to_srgb_helper_table[(f.ui - minval.ui) >> 20];
|
/external/tensorflow/tensorflow/core/kernels/ |
parameterized_truncated_normal_op.h | 28 // Sample a truncated normal random variable, with mean, stddev, minval, and 32 // Either minval may be -infinity, or maxval may be +infinity. If the interval 33 // (minval, maxval) is empty, the result is NaN. Large intervals which include
|
parameterized_truncated_normal_op_gpu.cu.cc | 82 T minval = minvals[single_minval ? 0 : batch_id]; local 87 if (Eigen::numext::isinf(minval) || maxval < mean) { 90 T temp = minval; 91 minval = maxval; 99 const T normMin = (minval - mean) / stddev; 149 // is large, minval is negative and maxval is positive.
|
parameterized_truncated_normal_op.cc | 88 T minval = minvals((minvals.dimension(0) == 1) ? 0 : b); 99 stddev > T(0) && minval < maxval && 100 (Eigen::numext::isfinite(minval) || 109 if ((Eigen::numext::isinf(minval) && minval < T(0)) || maxval < mean) { 111 std::swap(minval, maxval); 116 const T normMin = (minval - mean) / stddev; 154 // is large, minval is negative and maxval is positive.
|
/external/libopus/celt/ |
mathops.h | 84 opus_val16 minval = 0; local 88 minval = MIN16(minval, x[i]); 90 return MAX32(EXTEND32(maxval),-EXTEND32(minval)); 100 opus_val32 minval = 0; local 104 minval = MIN32(minval, x[i]); 106 return MAX32(maxval, -minval);
|
fixed_c6x.h | 67 #define celt_maxabs16(x, len) MAX32(EXTEND32(maxval((DATA *)x, len)),-EXTEND32(minval((DATA *)x, len)))
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
stability_test.py | 68 minval = -0.3333 73 x = random_ops.random_uniform([10, 10], minval=minval, maxval=maxval) 78 x = random_ops.random_uniform([10, 10], minval=minval, maxval=maxval)
|
/external/vulkan-validation-layers/libs/glm/detail/ |
func_common.inl | 406 genType const & minVal, 414 return min(maxVal, max(minVal, x)); 421 T const & minVal, 430 clamp(x.x, minVal, maxVal), 431 clamp(x.y, minVal, maxVal)); 438 T const & minVal, 447 clamp(x.x, minVal, maxVal), 448 clamp(x.y, minVal, maxVal), 449 clamp(x.z, minVal, maxVal)); 456 T const & minVal, [all...] |
/prebuilts/ndk/r16/sources/third_party/vulkan/src/libs/glm/detail/ |
func_common.inl | 406 genType const & minVal, 414 return min(maxVal, max(minVal, x)); 421 T const & minVal, 430 clamp(x.x, minVal, maxVal), 431 clamp(x.y, minVal, maxVal)); 438 T const & minVal, 447 clamp(x.x, minVal, maxVal), 448 clamp(x.y, minVal, maxVal), 449 clamp(x.z, minVal, maxVal)); 456 T const & minVal, [all...] |
/external/tensorflow/tensorflow/python/ops/linalg/ |
linear_operator_test_util.py | 484 shape[:-1], dtype=dtype, minval=1., maxval=maxval) 525 minval=None, 534 Uniform[minval, maxval], if dtype is real, 535 X + iY, where X, Y ~ Uniform[minval, maxval], if dtype is complex. 540 minval: `0-D` `Tensor` giving the minimum values. 552 shape, dtype=dtype.real_dtype, minval=minval, maxval=maxval, seed=seed) 559 minval=minval, 567 minval=None [all...] |
/external/aac/libAACenc/src/ |
noisedet.cpp | 175 FIXP_DBL fhelp1, fhelp2, fhelp3, fhelp4, maxVal, minVal; 197 minVal = fixMin(fhelp1, fhelp2); 198 minVal = fixMin(minVal, fhelp3); 199 minVal = fixMin(minVal, fhelp4); 204 refVal = minVal << leadingBits;
|
/external/opencv/cxcore/src/ |
cxminmaxloc.cpp | 62 *minVal = _fin_cast_macro_(min_val); \ 90 extrtype* minVal, extrtype* maxVal, CvPoint* minLoc, CvPoint* maxLoc ), \ 91 (src, step, size, minVal, maxVal, minLoc, maxLoc) ) \ 109 extrtype* minVal, extrtype* maxVal, \ 218 extrtype* minVal, extrtype* maxVal, CvPoint* minLoc, CvPoint* maxLoc ), \ 219 ( src, step, mask, maskStep, size, minVal, maxVal, minLoc, maxLoc) ) \ 238 extrtype* minVal, extrtype* maxVal, CvPoint* minLoc, CvPoint* maxLoc ) \
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/gan/ |
mnist_test.py | 100 minval=-1., maxval=1.) 106 minval=-1., maxval=1.)
|