/external/eigen/bench/ |
eig33.cpp | 53 const Scalar s_sqrt3 = internal::sqrt(Scalar(3.0)); 76 Scalar rho = internal::sqrt(-a_over_3); 77 Scalar theta = std::atan2(internal::sqrt(-q),half_b)*s_inv3;
|
/external/eigen/doc/ |
AsciiQuickReference.txt | 100 R.cwiseSqrt() // sqrt(P) 101 R.array().sqrt() // sqrt(P)
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ |
Feature.java | 203 float scaleX = (float) Math.sqrt(m.m00 * m.m00 + m.m10 * m.m10 + m.m20 * m.m20);
204 float scaleY = (float) Math.sqrt(m.m01 * m.m01 + m.m11 * m.m11 + m.m21 * m.m21);
205 float scaleZ = (float) Math.sqrt(m.m02 * m.m02 + m.m12 * m.m12 + m.m22 * m.m22);
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
FaultHeightMap.java | 180 / (FastMath.sqrt(FastMath.sqr(x2 - x1) + FastMath.sqr(y2 - y1)));
201 float dmag = FastMath.sqrt(FastMath.sqr(dx) + FastMath.sqr(dy));
205 * FastMath.sqrt(FastMath.sqr(i - rx) + FastMath.sqr(j - ry));
|
/external/llvm/test/CodeGen/X86/ |
2008-02-08-LoadFoldingBug.ll | 3 declare double @llvm.sqrt.f64(double) nounwind readnone 40 %tmp22.i.i35 = call double @llvm.sqrt.f64( double %tmp21.i.i34 ) nounwind ; <double> [#uses=1] 50 %tmp39.i7.i = call double @llvm.sqrt.f64( double %tmp38.i.i40 ) nounwind ; <double> [#uses=1]
|
/external/opencv/cv/src/ |
cvcamshift.cpp | 232 square = sqrt( 4 * b * b + (a - c) * (a - c) ); 243 length = sqrt( rotate_a * inv_m00 ) * 4; 244 width = sqrt( rotate_c * inv_m00 ) * 4;
|
/external/skia/bench/ |
bench_util.py | 208 self.serror = math.sqrt(max(0, se2)) 209 self.serror_slope = math.sqrt(max(0, sB2)) 210 self.serror_intercept = math.sqrt(max(0, sa2))
|
/external/speex/libspeex/ |
preprocess.c | 291 y = gamma(1.25)^2 * M(-.25;1;-x) / sqrt(x) 293 in the loudness domain ( sqrt[amplitude] ) 331 /* gain_floor = sqrt [ (noise*noise_floor + echo*echo_floor) / (noise+echo) ] */ 341 /* gain_floor = sqrt [ (noise*noise_floor + echo*echo_floor) / (noise+echo) ] */ 351 y = gamma(1.25)^2 * M(-.25;1;-x) / sqrt(x) 353 in the loudness domain ( sqrt[amplitude] ) 372 return FRAC_SCALING*((1-frac)*table[ind] + frac*table[ind+1])/sqrt(x+.0001f); 391 gain_floor[i] = FRAC_SCALING*sqrt(noise_floor*PSHR32(noise[i],NOISE_SHIFT) + echo_floor*echo[i])/sqrt(1+PSHR32(noise[i],NOISE_SHIFT) + echo[i]); 581 loudness=sqrt(loudness) [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
math_op.c | 47 | Compute 1/sqrt(L_x). | 75 | Compute 1/sqrt(value). | 80 | The function 1/sqrt(value) is approximated by a table and linear |
|
pitch_f4.c | 184 /* Compute rounded down 1/sqrt(energy of xn[]) */ 198 scale = -(exp >> 1); /* (1<<scale) < 1/sqrt(energy rounded) */ 234 /* Normalize correlation = correlation * (1/sqrt(energy)) */
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/ |
armCOMM_IDCT_s.h | 23 ;// C(u) = 1/sqrt(2) if u=0 or 1 if u!=0 33 ;// [ A(0) = 2*sqrt(2) 97 ;// = (1 + cos(pi/16) + cos(2pi/16) + cos(3pi/16))/sqrt(2) 174 LoopRR2 RN 14 ;// [ LoopNumber<<13 , (1/Sqrt(2))@Q15 ] 395 PKHTB xh2, xi2, xi0, ASR#15 ;// i2*sqrt(2)/4 453 PKHTB xh2, xi2, xi0, ASR#15 ;// i2*sqrt(2)/4 559 PKHTB xh2, xi2, xi0, ASR#15 ;// i2*sqrt(2)/4 803 InvSqrt2 DN dCoefs[0] ;// 1/sqrt(2) in Q15 829 VQRDMULH qXi2, qXi2, InvSqrt2 ;// i2/sqrt(2) 834 VQRDMULH qXh5, qXh5, InvSqrt2 ;// h5/sqrt(2 [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/ |
armCOMM_IDCT_s.h | 23 ;// C(u) = 1/sqrt(2) if u=0 or 1 if u!=0 33 ;// [ A(0) = 2*sqrt(2) 97 ;// = (1 + cos(pi/16) + cos(2pi/16) + cos(3pi/16))/sqrt(2) 174 LoopRR2 RN 14 ;// [ LoopNumber<<13 , (1/Sqrt(2))@Q15 ] 401 PKHTB xh2, xi2, xi0, ASR#15 ;// i2*sqrt(2)/4 459 PKHTB xh2, xi2, xi0, ASR#15 ;// i2*sqrt(2)/4 565 PKHTB xh2, xi2, xi0, ASR#15 ;// i2*sqrt(2)/4 809 InvSqrt2 DN dCoefs[0] ;// 1/sqrt(2) in Q15 835 VQDMULH qXi2, qXi2, InvSqrt2 ;// i2/sqrt(2) 840 VQDMULH qXh5, qXh5, InvSqrt2 ;// h5/sqrt(2 [all...] |
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
sparse_weight_vector.cpp | 85 w_[iter->first] += ((multiplier * sqrt(w1.normalizer_)) / 86 (sqrt(iter->second)) 235 return sqrt(result)/normalizer_;
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_image_homography.cpp | 277 if(allow_scaling) sc=sqrt(db_SafeDivision(sp,s)); 292 divisor=sqrt(Aacc*Aacc+Bacc*Bacc); 308 divisor2=sqrt(Aacc2*Aacc2+Bacc2*Bacc2);
|
/packages/apps/Gallery2/jni_mosaic/feature_stab/db_vlvm/ |
db_image_homography.cpp | 277 if(allow_scaling) sc=sqrt(db_SafeDivision(sp,s)); 292 divisor=sqrt(Aacc*Aacc+Bacc*Bacc); 308 divisor2=sqrt(Aacc2*Aacc2+Bacc2*Bacc2);
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_image_homography.cpp | 277 if(allow_scaling) sc=sqrt(db_SafeDivision(sp,s)); 292 divisor=sqrt(Aacc*Aacc+Bacc*Bacc); 308 divisor2=sqrt(Aacc2*Aacc2+Bacc2*Bacc2);
|
/bionic/libm/ |
fake_long_double.c | 69 long double sqrtl(long double a1) { return sqrt(a1); }
|
/bionic/libm/include/ |
math.h | 145 #define M_2_SQRTPI 1.12837916709551257390 /* 2/sqrt(pi) */ 146 #define M_SQRT2 1.41421356237309504880 /* sqrt(2) */ 147 #define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */ 208 double sqrt(double);
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_cos.c | 66 if(ix<0x3e46a09e) /* if x < 2**-27 * sqrt(2) */
|
s_csqrtl.c | 45 /* We risk spurious overflow for components >= LDBL_MAX / (1 + sqrt(2)). */
|
s_erf.c | 21 * sqrt(pi) \| 41 * erf(x) = (2/sqrt(pi))*(x - x^3/3 + x^5/10 - x^7/42 + ....) 43 * 2/sqrt(pi) = 1.128379167095512573896158903121545171688 92 * x*sqrt(pi)
|
/cts/apps/CtsVerifier/jni/cameraanalyzer/ |
com_android_cts_verifier_camera_analyzer_MeteringTest.cpp | 118 float radius = sqrt((*checkerRadius)[3][i]);
|
/dalvik/vm/compiler/codegen/arm/ |
CalloutHelper.h | 106 extern "C" double sqrt(double x); // INLINE_MATH_SQRT
|
/dalvik/vm/compiler/codegen/mips/ |
CalloutHelper.h | 103 extern "C" double sqrt(double x); // INLINE_MATH_SQRT
|
/development/ndk/platforms/android-3/include/ |
math.h | 160 #define M_2_SQRTPI 1.12837916709551257390 /* 2/sqrt(pi) */ 161 #define M_SQRT2 1.41421356237309504880 /* sqrt(2) */ 162 #define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */ 223 double sqrt(double);
|