Home
last modified time | relevance | path

Searched refs:median (Results 1 – 25 of 187) sorted by relevance

12345678

/third_party/boost/boost/accumulators/statistics/
Dmedian.hpp106 this->median = it->first * over + (it + 1)->first * (1. - over); in result()
109 return this->median; in result()
118 ar & median; in serialize() local
125 mutable float_type median; member
172 this->median = it->first * over + (it + 1)->first * ( 1. - over ); in result()
175 return this->median; in result()
183 ar & median; in serialize() local
189 mutable float_type median; member
201 struct median struct
231 extractor<tag::median> const median = {}; variable
[all …]
Dweighted_median.hpp103 this->median = it->first * over + (it + 1)->first * ( 1. - over ); in result()
106 return this->median; in result()
115 ar & median; in serialize() local
121 mutable float_type median; member
169 this->median = it->first * over + (it + 1)->first * ( 1. - over ); in result()
172 return this->median; in result()
180 ar & median; in serialize() local
185 mutable float_type median; member
226 extractor<tag::median> const weighted_median = {};
/third_party/boost/libs/accumulators/test/
Dmedian.cpp21 typedef accumulator_set<double, stats<tag::median(with_p_square_quantile) > > p_square_median_t;
22 typedef accumulator_set<double, stats<tag::median(with_density) > > dist_median_t;
23 typedef accumulator_set<double, stats<tag::median(with_p_square_cumulative_distribution) > > p_squa…
48 BOOST_CHECK_CLOSE(1., median(acc), 1.); in test_stat()
49 BOOST_CHECK_CLOSE(1., median(acc_dens), 1.); in test_stat()
50 BOOST_CHECK_CLOSE(1., median(acc_cdist), 3.); in test_stat()
77 BOOST_CHECK_CLOSE(1., median(acc), 1.); in test_persistency()
78 BOOST_CHECK_CLOSE(1., median(acc_dens), 1.); in test_persistency()
79 BOOST_CHECK_CLOSE(1., median(acc_cdist), 3.); in test_persistency()
94 BOOST_CHECK_CLOSE(1., median(acc), 1.); in test_persistency()
[all …]
/third_party/gstreamer/gstplugins_good/gst/videofilter/
Dgstvideomedian.c129 gst_video_median_init (GstVideoMedian * median) in gst_video_median_init() argument
131 median->filtersize = DEFAULT_FILTERSIZE; in gst_video_median_init()
132 median->lum_only = DEFAULT_LUM_ONLY; in gst_video_median_init()
233 GstVideoMedian *median = GST_VIDEO_MEDIAN (filter); in gst_video_median_transform_frame() local
235 if (median->filtersize == 5) { in gst_video_median_transform_frame()
242 if (median->lum_only) { in gst_video_median_transform_frame()
266 if (median->lum_only) { in gst_video_median_transform_frame()
292 GstVideoMedian *median; in gst_video_median_set_property() local
294 median = GST_VIDEO_MEDIAN (object); in gst_video_median_set_property()
298 median->filtersize = g_value_get_enum (value); in gst_video_median_set_property()
[all …]
/third_party/ffmpeg/libavcodec/
Dwavpack.h97 int median[3]; member
103 #define GET_MED(n) ((c->median[n] >> 4) + 1)
104 #define DEC_MED(n) c->median[n] -= ((int)(c->median[n] + (128U >> (n)) - 2) / (128 >> (n))) * 2U
105 #define INC_MED(n) c->median[n] += ((int)(c->median[n] + (128U >> (n)) ) / (128 >> (n))) * 5U
/third_party/boost/libs/math/doc/statistics/
Druns_test.qbk28 …below median test" tries to determine if a sequence is random by looking at the number of consecut…
29 …we find the median (5), and transform the vector into a list of + and -'s, depending on whether th…
30 (Values equal to the median we simply ignore-this is a convention we have inherited from the wonder…
35 which is 5 runs, with /n/[sub a] = 5 values above and /n/[sub b] = 5 values below the median.
66 There are two cases: Where the threshold (typically the median) has already been computed, and the …
67 Computing the median is fairly expensive (requiring a call to `boost::math::statistics::median`), a…
68 …to come from a distribution where the means and median coincide, or if you've already computed the…
Dunivariate_statistics.qbk64 auto median(Container & c);
67 auto median(ForwardIterator first, ForwardIterator last);
187 Computes the median of a dataset:
190 double m = boost::math::statistics::median(v.begin(), v.end());
193 The calculation of the median is a thin wrapper around the C++11 [@https://en.cppreference.com/w/cp…
194 Therefore, all requirements of `std::nth_element` are inherited by the median calculation.
199 Computes the [@https://en.wikipedia.org/wiki/Median_absolute_deviation median absolute deviation] o…
204 By default, the deviation from the median is used.
205 If you have some prior that the median is zero, or wish to compute the median absolute deviation fr…
212 // compute median absolute deviation from the mean:
[all …]
/third_party/boost/libs/multiprecision/test/
Dtest_convert_from_mpfi_float.cpp97 BOOST_CHECK_EQUAL(From(t3), median(from)); in test_convert_neg_rat()
98 BOOST_CHECK_EQUAL(From(t4), median(from)); in test_convert_neg_rat()
113 BOOST_CHECK_EQUAL(From(t1), median(from)); in test_convert_imp()
114 BOOST_CHECK_EQUAL(From(t2), median(from)); in test_convert_imp()
125 To answer(median(from).str()); in test_convert_neg_float()
143 To answer(median(from).str()); in test_convert_imp()
/third_party/boost/boost/random/
Dcauchy_distribution.hpp59 RealType median() const { return _median; } in median() function in boost::random::cauchy_distribution::param_type
108 : _median(parm.median()), _sigma(parm.sigma()) { } in cauchy_distribution()
115 RealType median() const { return _median; } in median() function in boost::random::cauchy_distribution
138 _median = parm.median(); in param()
/third_party/ltp/testcases/kernel/sched/tool/
Dtime-schedule.c101 unsigned long median, switches1, num_switches, num_overhead_switches; in main() local
256 median = compute_median(diffs, max_diff); in main()
258 (double)median / 20.0, (double)(median - overhead) / 20.0); in main()
440 unsigned long median = 0; in compute_median() local
457 median = count; in compute_median()
460 return (median); in compute_median()
/third_party/boost/boost/geometry/index/detail/rtree/
Dpack_create.hpp75 …static inline void apply(EIt first, EIt median, EIt last, Box const& box, Box & left, Box & right,… in apply()
79 index::detail::nth_element(first, median, last, point_entries_comparer<I>()); in apply()
85 typename coordinate_type<Box>::type median in apply() local
87 geometry::set<max_corner, I>(left, median); in apply()
88 geometry::set<min_corner, I>(right, median); in apply()
91 …nth_element_and_half_boxes<I+1, Dimension>::apply(first, median, last, box, left, right, dim_index… in apply()
409 EIt median = first + median_count; in per_level_packets() local
416 ::apply(first, median, last, hint_box, left, right, greatest_dim_index); in per_level_packets()
418 per_level_packets(first, median, left, in per_level_packets()
422 per_level_packets(median, last, right, in per_level_packets()
/third_party/flutter/skia/tools/
DStats.h25 min = max = mean = var = median = 0; in Stats()
51 median = sorted[n/2]; in Stats()
75 double median; member
/third_party/skia/tools/
DStats.h27 min = max = mean = var = median = 0; in Stats()
52 median = sorted[n/2]; in Stats()
76 double median; member
/third_party/boost/libs/math/dot_net_example/boost_math/
Dboost_math.h42 virtual double median()const = 0;
74 virtual double median()const in median() function
76 return boost::math::median(m_dist); in median()
175 double median() in median() function
178 return pimpl->median(); in median()
/third_party/vk-gl-cts/framework/common/
DtcuCPUWarmup.cpp58 const float median = floatMedian(v); in floatRelativeMedianAbsoluteDeviation() local
62 absoluteDeviations[i] = deFloatAbs((float)v[i] - median); in floatRelativeMedianAbsoluteDeviation()
64 return floatMedian(absoluteDeviations) / median; in floatRelativeMedianAbsoluteDeviation()
/third_party/ffmpeg/tests/fate/
Dutvideo.mak76 fate-utvideoenc_rgba_median: OPTS = -pix_fmt gbrap -pred median
85 fate-utvideoenc_rgb_median: OPTS = -pix_fmt gbrp -pred median
94 fate-utvideoenc_yuv420_median: OPTS = -pix_fmt yuv420p -pred median
103 fate-utvideoenc_yuv422_median: OPTS = -pix_fmt yuv422p -pred median
112 fate-utvideoenc_yuv444_median: OPTS = -pix_fmt yuv444p -pred median
/third_party/boost/boost/math/statistics/
Druns_test.hpp116 Real median = boost::math::statistics::median(w); in runs_above_and_below_median() local
117 return runs_above_and_below_threshold(v, median); in runs_above_and_below_median()
/third_party/vk-gl-cts/modules/glshared/
DglsStateChangePerfTestCases.cpp57 double median; member
91 result.median = (double)sortedValues[n]; in calculateStats()
547 …log << TestLog::Message << "Interleaved median: " << interleaved.median << TestLog::EndMess… in logAndSetTestResult()
553 log << TestLog::Message << "Batched median: " << batched.median << TestLog::EndMessage; in logAndSetTestResult()
559 …::Message << "Batched/Interleaved median ratio: " << (interleaved.median/batched.median) << TestLo… in logAndSetTestResult()
561 …EST_RESULT_PASS, de::floatToString((float)(((double)interleaved.median) / batched.median), 2).c_st… in logAndSetTestResult()
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/
DAMD_shader_trinary_minmax.txt37 or median of three inputs to be found with a single function call. These
101 …| genType mid3(genType x, genType y, genType z) | Returns the per-component median value of x,…
102 …| genIType mid3(genIType x, genIType y, genIType z) | Returns the per-component median value of x,…
103 …| genUType mid3(genUType x, genUType y, genUType z) | Returns the per-component median value of x,…
/third_party/openGLES/extensions/AMD/
DAMD_shader_trinary_minmax.txt37 or median of three inputs to be found with a single function call. These
101 …| genType mid3(genType x, genType y, genType z) | Returns the per-component median value of x,…
102 …| genIType mid3(genIType x, genIType y, genIType z) | Returns the per-component median value of x,…
103 …| genUType mid3(genUType x, genUType y, genUType z) | Returns the per-component median value of x,…
/third_party/boost/libs/math/dot_net_example/distribution_explorer/
DDistexForm.cs182 median.Text = dist.median().ToString(); in tabPage2_Enter()
186 median.Text = "Undefined."; in tabPage2_Enter()
433 median.Text = dist.median().ToString(); in saveFileDialog1_FileOk()
437 median.Text = "Undefined"; in saveFileDialog1_FileOk()
439 sw.WriteLine("Median" + separator + median.Text); in saveFileDialog1_FileOk()
/third_party/boost/libs/math/test/
Dunivariate_statistics_test.cpp493 Real m = boost::math::statistics::median(v.begin(), v.end()); in test_median()
498 m = boost::math::statistics::median(v); in test_median()
502 m = boost::math::statistics::median(v.begin(), v.end()); in test_median()
505 m = boost::math::statistics::median(v.begin(), v.end()); in test_median()
509 m = boost::math::statistics::median(v.begin(), v.end()); in test_median()
513 m = boost::math::statistics::median(v.begin(), v.end()); in test_median()
517 m = boost::math::statistics::median(v.begin(), v.end()); in test_median()
521 m = boost::math::statistics::median(v.begin(), v.end()); in test_median()
525 m = boost::math::statistics::median(v.begin(), v.end()); in test_median()
528 m = boost::math::statistics::median(v.begin(), v.end()); in test_median()
[all …]
/third_party/python/Doc/library/
Dstatistics.rst49 :func:`median` Median (middle value) of data.
50 :func:`median_low` Low median of data.
51 :func:`median_high` High median of data.
123 <https://en.wikipedia.org/wiki/Central_tendency>`_, see :func:`median`.
215 .. function:: median(data)
217 Return the median (middle value) of numeric data, using the common "mean of
221 The median is a robust measure of central location and is less affected by
227 >>> median([1, 3, 5])
230 When the number of data points is even, the median is interpolated by taking
235 >>> median([1, 3, 5, 7])
[all …]
/third_party/ntfs-3g/libntfs-3g/
Dindex.c942 int i = 0, median; in ntfs_ie_get_median() local
956 median = i / 2 - 1; in ntfs_ie_get_median()
958 ntfs_log_trace("Entries: %d median: %d\n", i, median); in ntfs_ie_get_median()
960 for (i = 0, ie = ie_start; i <= median; i++) in ntfs_ie_get_median()
1143 INDEX_ENTRY *median, VCN new_vcn) in ntfs_ib_copy_tail() argument
1157 ie_head = ntfs_ie_get_next(median); in ntfs_ib_copy_tail()
1435 static int ntfs_ir_insert_median(ntfs_index_context *icx, INDEX_ENTRY *median, in ntfs_ir_insert_median() argument
1448 le16_to_cpu(median->length); in ntfs_ir_insert_median()
1449 if (!(median->ie_flags & INDEX_ENTRY_NODE)) in ntfs_ir_insert_median()
1460 return ntfs_ih_insert(&icx->ir->index, median, new_vcn, in ntfs_ir_insert_median()
[all …]
/third_party/boost/libs/multi_index/perf/
Dtest_perf.cpp128 double median = (mv[n*factor] + mv[n*factor-1])/2; in measure() local
131 if (mv[n] > (median * (100-percent))/100 && in measure()
132 mv[mv.size() - n - 1] < (median * (100+percent))/100) in measure()
133 return median; in measure()

12345678