/external/iproute2/netem/ |
normal.c | 18 normal(double x, double mu, double sigma) 20 return .5 + .5*erf((x-mu)/(sqrt(2.0)*sigma));
|
stats.c | 24 double mu=0.0, sigma=0.0, sumsquare=0.0, sum=0.0, top=0.0, rho=0.0; local 44 sigma = sqrt((sumsquare - (double)n*mu*mu)/(double)(n-1)); 54 printf("sigma = %12.6f\n", sigma); 57 /*printf("correlation rho = %10.6f\n", top/((double)(n-1)*sigma*sigma));*/
|
maketable.c | 51 arraystats(double *x, int limit, double *mu, double *sigma, double *rho) 63 *sigma = sqrt((sumsquare - (double)n*(*mu)*(*mu))/(double)(n-1)); 93 makedist(double *x, int limit, double mu, double sigma) 107 input = (x[i]-mu)/sigma; 200 double mu, sigma, rho; local 219 arraystats(x, limit, &mu, &sigma, &rho); 221 fprintf(stderr, "%d values, mu %10.4f, sigma %10.4f, rho %10.4f\n", 222 limit, mu, sigma, rho); 225 table = makedist(x, limit, mu, sigma);
|
paretonormal.c | 27 normal(double x, double mu, double sigma) 29 return .5 + .5*erf((x-mu)/(sqrt(2.0)*sigma));
|
/external/skia/include/effects/ |
SkBlurImageFilter.h | 18 virtual bool asABlur(SkSize* sigma) const SK_OVERRIDE;
|
/external/skia/include/core/ |
SkImageFilter.h | 79 * set the sigma to the values for horizontal and vertical. 81 virtual bool asABlur(SkSize* sigma) const;
|
/external/v8/test/mjsunit/ |
cyrillic.js | 42 var SIGMA = "\u03a3"; 43 var sigma = "\u03c3"; variable 52 MIDDLE: SIGMA, // SIGMA 53 middle: sigma, // sigma 134 // Sigma is special because there are two lower case versions of the same upper 136 // convert everything to upper case, so the two sigma variants are equal to each 141 var regex = simple ? SIGMA : "[" + SIGMA + "]" [all...] |
regexp-UC16.js | 30 // "\u03a3\u03c2\u03c3\u039b\u03bb" - Sigma, final sigma, sigma, Lambda, lamda
|
/frameworks/base/services/sensorservice/ |
Fusion.h | 79 void update(const vec3_t& z, const vec3_t& Bi, float sigma);
|
Fusion.cpp | 395 void Fusion::update(const vec3_t& z, const vec3_t& Bi, float sigma) { 408 const mat33_t R(sigma*sigma);
|
/external/opencv/cv/src/ |
cvthresh.cpp | 258 double p_i, q2, mu2, val_i, sigma; local 275 sigma = q1*q2*(mu1 - mu2)*(mu1 - mu2); 276 if( sigma > max_sigma ) 278 max_sigma = sigma;
|
cvsurf.cpp | 314 const double sigma = 3.3; local 315 double c2 = 1./(sigma*sigma*2), gs = 0;
|
cvfundam.cpp | 272 double minMedian = DBL_MAX, sigma; local 334 sigma = 2.5*1.4826*(1 + 5./(count - modelPoints))*sqrt(minMedian); 335 sigma = MAX( sigma, FLT_EPSILON*100 ); 337 count = findInliers( m1, m2, model, err, mask, sigma ); [all...] |
/external/srec/srec/include/ |
pre_desc.h | 52 unsigned short sigma; member in struct:__anon12639
|
/frameworks/base/location/java/android/location/ |
Location.java | 301 double sigma = 0.0; local 320 sigma = Math.atan2(sinSigma, cosSigma); // (16) 347 (sigma + C * sinSigma * 357 float distance = (float) (b * A * (sigma - deltaSigma));
|
/external/skia/src/effects/ |
SkBlurImageFilter.cpp | 22 bool SkBlurImageFilter::asABlur(SkSize* sigma) const { 23 *sigma = fSigma;
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
GLES2Canvas.cpp | 471 static float gauss(float x, float sigma) 473 return exp(- (x * x) / (2.0f * sigma * sigma)); 476 static void buildKernel(float sigma, float* kernel, int kernelWidth) 481 kernel[i] = gauss(i - halfWidth, sigma); 792 float sigma = m_state->m_shadowBlur * 0.333333f; local 798 while (sigma > cMaxSigma) { 801 sigma *= 0.5f; 821 int halfWidth = static_cast<int>(sigma * 3.0f); 824 buildKernel(sigma, kernel.get(), kernelWidth) [all...] |
/external/libvpx/vp8/common/ |
postproc.c | 380 double vp8_gaussian(double sigma, double mu, double x) 382 return 1 / (sigma * sqrt(2.0 * 3.14159265)) * 383 (exp(-(x - mu) * (x - mu) / (2 * sigma * sigma))); 393 double sigma; local 399 sigma = ai + .5 + .6 * (63 - qi) / 63.0; 402 * a gaussian distribution with sigma determined by q. 412 int a = (int)(.5 + 256 * vp8_gaussian(sigma, 0, i)); [all...] |
/external/skia/src/gpu/ |
SkGpuDevice.cpp | 731 static void buildKernel(float sigma, float* kernel, int kernelWidth) { 734 float denom = 1.0f / (2.0f * sigma * sigma); 737 // Note that the constant term (1/(sqrt(2*pi*sigma^2)) of the Gaussian 755 static float adjustSigma(float sigma, int *scaleFactor, int *halfWidth, 758 while (sigma > MAX_BLUR_SIGMA) { 760 sigma *= 0.5f; 762 *halfWidth = static_cast<int>(ceilf(sigma * 3.0f)); 764 return sigma; 911 float sigma = SkScalarToFloat(radius) * BLUR_SIGMA_SCALE; local [all...] |
/sdk/assetstudio/src/com/android/assetstudiolib/ |
Util.java | 103 final double sigma = radius / 3; local 104 final double sigma22 = 2 * sigma * sigma;
|
/external/opencv/cv/include/ |
cv.hpp | 183 int gaussian_size, double sigma ); 201 static void init_gaussian_kernel( CvMat* kernel, double sigma=-1 );
|
/external/libvpx/vp8/common/x86/ |
postproc_mmx.c | 45 extern double vp8_gaussian(double sigma, double mu, double x); 1067 double sigma; 1070 sigma = a + .5 + .6 * (63 - q) / 63.0; 1073 // a gaussian distribution with sigma determined by q. 1083 double g = 256 * vp8_gaussian(sigma, 0, 1.0 * i); [all...] |
/external/opencv/cvaux/src/ |
cvlmeds.cpp | 491 double l1, l2, l3, d1, d2, sigma; local 504 sigma = (double) (2.5 * 1.4826 * (1 + 5. / (num - 7)) * sqrt( Mj )); 521 if( d1 * d1 + d2 * d2 <= sigma * sigma ) [all...] |
cvbgfg_acmmm2003.cpp | 281 double sigma = sqrt( sqsum/count - my*my); local 282 // fprintf(stderr, "Iter %d sum=%g sqsum=%g count=%d sigma = %g\n", thres, sum, sqsum, count, sigma); 284 relativeVariance[thres] = sigma;
|
/frameworks/base/libs/hwui/ |
FontRenderer.cpp | 1123 float sigma = 0.3f * (float) radius + 0.6f; local [all...] |