/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/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...] |
cvfilter.cpp | [all...] |
/external/srec/srec/include/ |
pre_desc.h | 52 unsigned short sigma; member in struct:__anon11346
|
/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/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...] |
/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 );
|
/frameworks/base/libs/hwui/ |
FontRenderer.cpp | 792 // g(x) = ( 1 / sqrt( 2 * pi ) * sigma) * e ^ ( -x^2 / 2 * sigma^2 ) 794 // and sigma varies with radius. 795 // Based on some experimental radius values and sigma's 796 // we approximately fit sigma = f(radius) as 797 // sigma = radius * 0.3 + 0.6 799 // will resemble a box blur since with large sigma 801 float sigma = 0.3f * (float) radius + 0.6f; local 807 float coeff1 = 1.0f / (sqrt( 2.0f * pi ) * sigma); 808 float coeff2 = - 1.0f / (2.0f * sigma * sigma) [all...] |
/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;
|
/external/freetype/src/base/ |
ftstroke.c | 1054 FT_Fixed sigma = 0, radius = stroker->radius; local 1084 sigma = FT_MulFix( stroker->miter_limit, thcos ); 1087 if ( sigma < 0x10000L ) 1130 FT_DivFix( 0x10000L - sigma, [all...] |
/external/opencv/cvaux/include/ |
cvvidsurv.hpp | 924 float sigma; member in struct:CvBlobTrackerParamMS [all...] |
/external/icu4c/test/intltest/ |
transtst.cpp | 774 UChar sigma = 0x3C3; local 783 // sigma upsilon nu -> syn 785 syn.append(sigma).append(upsilon).append(nu); 788 // sigma alpha upsilon nu -> saun 790 sayn.append(sigma).append(alpha).append(upsilon).append(nu); 797 "$sigma = \\u03C3;" 800 "s <> $sigma;" [all...] |