/third_party/boost/libs/math/tools/ |
D | gauss_kronrod_constants.cpp | 83 print_gauss_constants<boost::math::quadrature::gauss<mp_type, 7> >("f", 9, 0); in main() 84 print_gauss_constants<boost::math::quadrature::gauss<mp_type, 7> >("", 17, 1); in main() 85 print_gauss_constants<boost::math::quadrature::gauss<mp_type, 7> >("L", 35, 2); in main() 86 print_gauss_constants<boost::math::quadrature::gauss<mp_type, 7> >("Q", 35, 3); in main() 87 print_gauss_constants<boost::math::quadrature::gauss<mp_type, 7> >("", 115, 4); in main() 89 print_gauss_constants<boost::math::quadrature::gauss<mp_type, 10> >("f", 9, 0); in main() 90 print_gauss_constants<boost::math::quadrature::gauss<mp_type, 10> >("", 17, 1); in main() 91 print_gauss_constants<boost::math::quadrature::gauss<mp_type, 10> >("L", 35, 2); in main() 92 print_gauss_constants<boost::math::quadrature::gauss<mp_type, 10> >("Q", 35, 3); in main() 93 print_gauss_constants<boost::math::quadrature::gauss<mp_type, 10> >("", 115, 4); in main() [all …]
|
/third_party/skia/src/core/ |
D | SkGaussFilter.cpp | 20 static void normalize(int n, double* gauss) { in normalize() argument 24 sum += 2 * gauss[i]; in normalize() 26 sum += gauss[0]; in normalize() 30 gauss[i] /= sum; in normalize() 37 sum += 2 * gauss[i]; in normalize() 40 gauss[0] = 1 - sum; in normalize() 43 static int calculate_bessel_factors(double sigma, double *gauss) { in calculate_bessel_factors() argument 84 gauss[0] = b[0]/d; in calculate_bessel_factors() 85 gauss[1] = b[1]/d; in calculate_bessel_factors() 94 while (gauss[n] > kGoodEnough) { in calculate_bessel_factors() [all …]
|
D | SkMaskBlurFilter.cpp | 595 uint16_t* gauss, in blur_x_rect() argument 599 Sk8h g0{gauss[0]}, in blur_x_rect() 600 g1{gauss[1]}, in blur_x_rect() 601 g2{gauss[2]}, in blur_x_rect() 602 g3{gauss[3]}, in blur_x_rect() 603 g4{gauss[4]}; in blur_x_rect() 613 static void direct_blur_x(int radius, uint16_t* gauss, in direct_blur_x() argument 619 blur_x_rect(blur_x_radius_1, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 623 blur_x_rect(blur_x_radius_2, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 627 blur_x_rect(blur_x_radius_3, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkGaussFilter.cpp | 20 static void normalize(int n, double* gauss) { in normalize() argument 24 sum += 2 * gauss[i]; in normalize() 26 sum += gauss[0]; in normalize() 30 gauss[i] /= sum; in normalize() 37 sum += 2 * gauss[i]; in normalize() 40 gauss[0] = 1 - sum; in normalize() 43 static int calculate_bessel_factors(double sigma, double *gauss) { in calculate_bessel_factors() argument 84 gauss[0] = b[0]/d; in calculate_bessel_factors() 85 gauss[1] = b[1]/d; in calculate_bessel_factors() 94 while (gauss[n] > kGoodEnough) { in calculate_bessel_factors() [all …]
|
D | SkMaskBlurFilter.cpp | 592 uint16_t* gauss, in blur_x_rect() argument 596 Sk8h g0{gauss[0]}, in blur_x_rect() 597 g1{gauss[1]}, in blur_x_rect() 598 g2{gauss[2]}, in blur_x_rect() 599 g3{gauss[3]}, in blur_x_rect() 600 g4{gauss[4]}; in blur_x_rect() 610 static void direct_blur_x(int radius, uint16_t* gauss, in direct_blur_x() argument 616 blur_x_rect(blur_x_radius_1, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 620 blur_x_rect(blur_x_radius_2, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 624 blur_x_rect(blur_x_radius_3, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() [all …]
|
/third_party/boost/libs/math/test/ |
D | gauss_quadrature_test.cpp | 56 using boost::math::quadrature::gauss; 259 Real Q = gauss<Real, Points>::integrate(f, (Real) 0, (Real) 1, &L1); in test_linear() 262 Q = gauss<Real, Points>::integrate(f, (Real) 0, (Real) 0, &L1); in test_linear() 264 Q = gauss<Real, Points>::integrate(f, (Real) 1, (Real) 0, &L1); in test_linear() 276 Real Q = gauss<Real, Points>::integrate(f, 0, 1, &L1); in test_quadratic() 291 Real Q = gauss<Real, Points>::integrate(f1, 0, 1, &L1); in test_ca() 297 Q = gauss<Real, Points>::integrate(f2, 0 , 1, &L1); in test_ca() 304 Q = gauss<Real, Points>::integrate(f5, 0 , 1); in test_ca() 319 Q = gauss<Real, Points>::integrate(f1, 0 , 1); in test_three_quadrature_schemes_examples() 326 Q = gauss<Real, Points>::integrate(f2, 0 , 1); in test_three_quadrature_schemes_examples() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_colorconstancy.c | 87 double *gauss[MAX_DIFF_ORD+1]; member 119 s->gauss[i] = av_mallocz_array(filtersize, sizeof(*s->gauss[i])); in set_gauss() 120 if (!s->gauss[i]) { in set_gauss() 122 av_freep(&s->gauss[i]); in set_gauss() 132 s->gauss[0][0] = 1; // Copying data to double instead of convolution in set_gauss() 135 …s->gauss[0][i] = exp(- pow(GINDX(filtersize, i), 2.) / (2 * sigma * sigma)) / ( sqrt(2 * M_PI) * s… in set_gauss() 136 sum1 += s->gauss[0][i]; in set_gauss() 139 s->gauss[0][i] /= sum1; in set_gauss() 147 s->gauss[1][i] = - (GINDX(filtersize, i) / pow(sigma, 2)) * s->gauss[0][i]; in set_gauss() 148 sum1 += s->gauss[1][i] * GINDX(filtersize, i); in set_gauss() [all …]
|
/third_party/boost/boost/geometry/srs/projections/impl/ |
D | pj_gauss.hpp | 53 struct gauss struct 68 inline gauss<T> gauss_ini(T const& e, T const& phi0, T& chi, T& rc) in gauss_ini() 82 gauss<T> en; in gauss_ini() 100 inline void gauss_fwd(gauss<T> const& en, T& lam, T& phi) in gauss_fwd() 112 inline void gauss_inv(gauss<T> const& en, T& lam, T& phi) in gauss_inv()
|
/third_party/boost/libs/math/doc/quadrature/ |
D | gauss.qbk | 8 [section:gauss Gauss-Legendre quadrature] 12 `#include <boost/math/quadrature/gauss.hpp>` 17 struct gauss 33 The `gauss` class template performs "one shot" non-adaptive Gauss-Legendre integration on some arbi… 84 boost::math::quadrature::gauss<Real, 30> integrator; 90 Internally class `gauss` has pre-computed tables of abscissa and weights for 7, 15, 20, 25 and 30 p… 91 digit precision. That means that using for example, `gauss<double, 30>::integrate` incurs absolute… 101 pre-computed values already in gauss.hpp. The program can be trivially modified to generate code a… 110 [endsect] [/section:gauss Gauss-Legendre quadrature]
|
/third_party/flutter/skia/tests/ |
D | SkGaussFilterTest.cpp | 18 static double careful_add(int n, double* gauss) { in careful_add() argument 22 sum += 2.0 * gauss[i]; in careful_add() 24 sum += gauss[0]; in careful_add()
|
/third_party/skia/tests/ |
D | SkGaussFilterTest.cpp | 18 static double careful_add(int n, double* gauss) { in careful_add() argument 22 sum += 2.0 * gauss[i]; in careful_add() 24 sum += gauss[0]; in careful_add()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/ |
D | functions.hpp | 35 GLM_FUNC_DECL T gauss( 44 GLM_FUNC_DECL T gauss(
|
D | functions.inl | 9 GLM_FUNC_QUALIFIER T gauss function 20 GLM_FUNC_QUALIFIER T gauss function
|
/third_party/ltp/testcases/misc/math/fptests/ |
D | fptest02.c | 80 static double gauss(void); 255 return (gauss()); in dtwork() 333 static double gauss(void) in gauss() function
|
D | fptest01.c | 80 static double gauss(void); 274 return (gauss()); in dtwork() 351 static double gauss(void) in gauss() function
|
/third_party/boost/libs/math/example/ |
D | gauss_example.cpp | 35 double Q = gauss<double, 7>::integrate(f, 0, 1); in gauss_examples() 47 cpp_bin_float_quad Q2 = gauss<cpp_bin_float_quad, 20>::integrate(f2, 0, 1); in gauss_examples()
|
/third_party/boost/libs/math/test/compile_test/ |
D | gauss_concept_test.cpp | 15 boost::math::quadrature::gauss<boost::math::concepts::std_real_concept, 7> integrator; in compile_and_link_test()
|
/third_party/python/Lib/ |
D | random.py | 591 def gauss(self, mu, sigma): member in Random 873 gauss = _inst.gauss variable 917 _test_generator(N, gauss, (0.0, 1.0))
|
D | statistics.py | 1078 gauss = random.gauss if seed is None else random.Random(seed).gauss 1080 return [gauss(mu, sigma) for i in range(n)]
|
/third_party/boost/libs/multiprecision/example/ |
D | gauss_laguerre_quadrature.cpp | 52 namespace gauss { namespace laguerre { namespace 512 …typedef gauss::laguerre::detail::abscissas_and_weights<local::float_type> abscissas_and_weights_ty… in main() 522 typedef gauss::laguerre::detail::airy_ai_object<local::float_type> airy_ai_object_type; in main()
|
/third_party/ffmpeg/tests/ref/fate/ |
D | eval | 265 Evaluating 'gauss(0.1)' 266 'gauss(0.1)' -> 0.396953
|
/third_party/boost/boost/geometry/srs/projections/proj/ |
D | sterea.hpp | 69 gauss<T> en;
|
/third_party/ffmpeg/doc/ |
D | scaler.texi | 44 @item gauss
|
/third_party/python/Lib/test/ |
D | test_random.py | 345 y1 = self.gen.gauss(0, 1) 349 y2 = self.gen.gauss(0, 1) 1008 g.random = x[:].pop; g.gauss(0.0, 1.0) 1058 (g.gauss, (10.0, 0.0), 10.0),
|
/third_party/python/Doc/library/ |
D | random.rst | 327 .. function:: gauss(mu, sigma) 516 from random import expovariate, gauss 533 service_duration = max(0.0, gauss(average_service_time, stdev_service_time)) 553 (gauss, uniform, sample, betavariate, choice, triangular, and randrange).
|