/dports/net/oha/oha-0.4.7/cargo-crates/average-0.13.1/src/ |
H A D | weighted_mean.rs | 23 weighted_avg: f64, field 30 weight_sum: 0., weighted_avg: 0., in new() 45 let prev_avg = self.weighted_avg; in add() 70 self.weighted_avg in mean() 126 self.weighted_avg = (self.weight_sum * self.weighted_avg in merge() 154 weighted_avg: WeightedMean, field 165 weighted_avg: WeightedMean::new(), in new() 181 self.weighted_avg.add(sample, weight); in add() 196 self.weighted_avg.sum_weights() in sum_weights() 212 self.weighted_avg.mean() in weighted_mean() [all …]
|
/dports/math/py-pandas/pandas-1.2.5/pandas/core/window/ |
H A D | numba_.py | 129 weighted_avg = window[0] 130 nobs = int(not np.isnan(weighted_avg)) 131 sub_result[0] = weighted_avg if nobs >= minimum_periods else np.nan 138 if not np.isnan(weighted_avg): 146 if weighted_avg != cur: 147 weighted_avg = ( 148 (old_wt * weighted_avg) + (new_wt * cur) 155 weighted_avg = cur 157 sub_result[j] = weighted_avg if nobs >= minimum_periods else np.nan
|
/dports/games/ldmud/ldmud-3.3.720/src/ |
H A D | backend.c | 193 pStat->weighted_avg = c * pStat->weighted_avg + pStat->sum * (1 - c) / n; in update_statistic() 211 pStat->weighted_avg = (1 - c) * pStat->weighted_avg + number * c; in update_statistic_avg() 223 if (sRef.weighted_avg == 0.0) in relate_statistics() 226 return sStat.weighted_avg / sRef.weighted_avg; in relate_statistics() 1500 , stat_load.weighted_avg in f_query_load_average() 1501 , stat_compile.weighted_avg in f_query_load_average()
|
H A D | backend.h | 20 double weighted_avg; /* The current weighted average. */ member
|
H A D | simulate.c | 3193 , stat_total_evalcost.weighted_avg in status_parse() 3194 , stat_eval_duration.weighted_avg / 1000000.0 in status_parse() 3198 , stat_load.weighted_avg in status_parse() 3199 , stat_compile.weighted_avg in status_parse() 3307 , stat_last_data_cleaned.weighted_avg in status_parse()
|
H A D | slaballoc.c | 1075 , extstats[i].stat_free.weighted_avg in mem_dump_extdata() 1085 , extstats[i].stat_free.weighted_avg in mem_dump_extdata()
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavfilter/ |
H A D | vf_nlmeans.c | 41 struct weighted_avg { struct 60 struct weighted_avg *wa; // weighted average of every pixel argument 362 struct weighted_avg *wa = s->wa + y*s->wa_linesize; in nlmeans_slice() 412 struct weighted_avg *wa, ptrdiff_t wa_linesize, in weight_averages()
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavfilter/ |
H A D | vf_nlmeans.c | 41 struct weighted_avg { struct 63 struct weighted_avg *wa; // weighted average of every pixel argument 366 struct weighted_avg *wa = s->wa + y*s->wa_linesize; in nlmeans_slice() 417 struct weighted_avg *wa, ptrdiff_t wa_linesize, in weight_averages()
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavfilter/ |
H A D | vf_nlmeans.c | 41 struct weighted_avg { struct 60 struct weighted_avg *wa; // weighted average of every pixel argument 362 struct weighted_avg *wa = s->wa + y*s->wa_linesize; in nlmeans_slice() 412 struct weighted_avg *wa, ptrdiff_t wa_linesize, in weight_averages()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavfilter/ |
H A D | vf_nlmeans.c | 41 struct weighted_avg { struct 60 struct weighted_avg *wa; // weighted average of every pixel argument 362 struct weighted_avg *wa = s->wa + y*s->wa_linesize; in nlmeans_slice() 412 struct weighted_avg *wa, ptrdiff_t wa_linesize, in weight_averages()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavfilter/ |
H A D | vf_nlmeans.c | 41 struct weighted_avg { struct 60 struct weighted_avg *wa; // weighted average of every pixel argument 362 struct weighted_avg *wa = s->wa + y*s->wa_linesize; in nlmeans_slice() 412 struct weighted_avg *wa, ptrdiff_t wa_linesize, in weight_averages()
|
/dports/math/py-pandas/pandas-1.2.5/pandas/_libs/window/ |
H A D | aggregations.pyx | 1582 float64_t alpha, old_wt_factor, new_wt, weighted_avg, old_wt, cur 1592 weighted_avg = vals[0] 1593 is_observation = weighted_avg == weighted_avg 1595 output[0] = weighted_avg if nobs >= minp else NaN 1603 if weighted_avg == weighted_avg: 1611 if weighted_avg != cur: 1612 weighted_avg = ((old_wt * weighted_avg) + 1619 weighted_avg = cur 1621 output[i] = weighted_avg if nobs >= minp else NaN
|
/dports/benchmarks/fio/fio-3.29/t/ |
H A D | latency_percentiles.py | 545 weighted_avg = (jsondata[high]['mean'] * jsondata[high]['N'] + \ 547 delta = abs(weighted_avg - jsondata[combined]['mean']) 550 "and actual mean %f exceeds 0.01%%" % (weighted_avg, jsondata[combined]['mean'])) 554 (weighted_avg, jsondata[combined]['mean']))
|
/dports/biology/hisat2/hisat2-2.2.1/ |
H A D | repeat_builder.cpp | 2328 float weighted_avg = -1.0f; in align() local 2335 if(abs(diff - weighted_avg) > 20.0f) { in align() 2341 if(weighted_avg < 0.0f) { in align() 2342 weighted_avg = diff; in align() 2345 weighted_avg = 0.8f * weighted_avg + 0.2f * diff; in align()
|