Home
last modified time | relevance | path

Searched refs:fsum (Results 1 – 15 of 15) sorted by relevance

/third_party/python/Lib/
Dstatistics.py138 from math import hypot, sqrt, fabs, exp, erf, tau, log, fsum
352 total = fsum(count(data))
354 total = fsum(data)
883 xbar = fsum(x) / n
884 ybar = fsum(y) / n
885 sxy = fsum((xi - xbar) * (yi - ybar) for xi, yi in zip(x, y))
911 xbar = fsum(x) / n
912 ybar = fsum(y) / n
913 sxy = fsum((xi - xbar) * (yi - ybar) for xi, yi in zip(x, y))
914 sxx = fsum((xi - xbar) ** 2.0 for xi in x)
[all …]
/third_party/ffmpeg/libavcodec/ppc/
Dh264chroma_template.c41 OP_U8_ALTIVEC(fsum, vfdst, vdst);\
43 vec_st(fsum, 0, dst);\
64 OP_U8_ALTIVEC(fsum, vfdst, vdst);\
66 vec_st(fsum, 0, dst);\
137 vec_u8 vdst, ppsum, vfdst, fsum; in PREFIX_h264_chroma_mc8_altivec() local
212 vec_u8 vdst, ppsum, vfdst, fsum; in PREFIX_no_rnd_vc1_chroma_mc8_altivec() local
Dh264qpel_template.c128 vec_u8 sum, fsum; in PREFIX_h264_qpel16_h_lowpass_altivec() local
183 OP_U8_ALTIVEC(fsum, sum, vec_ld(0, dst)); in PREFIX_h264_qpel16_h_lowpass_altivec()
185 vec_st(fsum, 0, dst); in PREFIX_h264_qpel16_h_lowpass_altivec()
240 vec_u8 sum, fsum, srcP3; in PREFIX_h264_qpel16_v_lowpass_altivec() local
286 OP_U8_ALTIVEC(fsum, sum, vec_ld(0, dst)); in PREFIX_h264_qpel16_v_lowpass_altivec()
288 vec_st(fsum, 0, dst); in PREFIX_h264_qpel16_v_lowpass_altivec()
333 vec_u8 fsum, sumv, sum; in PREFIX_h264_qpel16_hv_lowpass_altivec() local
476 OP_U8_ALTIVEC(fsum, sum, vec_ld(0, dst)); in PREFIX_h264_qpel16_hv_lowpass_altivec()
478 vec_st(fsum, 0, dst); in PREFIX_h264_qpel16_hv_lowpass_altivec()
/third_party/python/Doc/tutorial/
Dfloatingpoint.rst195 Another helpful tool is the :func:`math.fsum` function which helps mitigate
203 >>> math.fsum([0.1] * 10) == 1.0
/third_party/python/Lib/test/
Dtest_statistics.py1276 self.assertApproxEqual(float(self.func(data)[1]), math.fsum(data), rel=2e-16)
2732 fsum = math.fsum
2740 total = max(fsum(xp), fsum(yp))
2741 return fsum(map(min, xp, yp)) / total
Dtest_random.py11 from math import log, exp, pi, fsum, sin, factorial
985 return az ** (z-0.5) / exp(az) * sqrt2pi * fsum([
Dtest_math.py667 actual = math.fsum(vals)
687 self.assertEqual(msum(vals), math.fsum(vals))
/third_party/python/Doc/library/
Dmath.rst9 from math import fsum
108 .. function:: fsum(iterable)
115 >>> fsum([.1, .1, .1, .1, .1, .1, .1, .1, .1, .1])
Dstatistics.rst908 >>> from math import comb, fsum
909 >>> round(fsum(comb(n, r) * p**r * q**(n-r) for r in range(k+1)), 4)
Dfunctions.rst1683 see :func:`math.fsum`\. To concatenate a series of iterables, consider using
/third_party/python/Misc/NEWS.d/
D3.9.0a2.rst754 Fix a test for :func:`math.fsum` that was failing due to constant folding.
/third_party/mesa3d/docs/relnotes/
D21.2.0.rst2270 - lavapipe: fix fsum with swizzle
4664 - llvmpipe: fix nir dot products (fsum op)
D21.0.0.rst918 - gallivm/nir: add fsum support
D21.3.0.rst3729 - llvmpipe: fix nir dot products (fsum op)
/third_party/python/Doc/whatsnew/
D2.6.rst2102 * :func:`~math.fsum` adds up the stream of numbers from an iterable,