HomeSort by relevance Sort by last modified time
    Searched refs:abs (Results 276 - 300 of 2325) sorted by null

<<11121314151617181920>>

  /external/eigen/test/
cwiseop.cpp 39 m3 = m1.cwise().abs().cwise().sqrt();
40 VERIFY_IS_APPROX(m3.cwise().square(), m1.cwise().abs());
41 VERIFY_IS_APPROX(m1.cwise().square().cwise().sqrt(), m1.cwise().abs());
42 VERIFY_IS_APPROX(m1.cwise().abs().cwise().log().cwise().exp() , m1.cwise().abs());
45 m3 = (m1.cwise().abs().cwise()<=RealScalar(0.01)).select(mones,m1);
47 m3 = m1.cwise().abs();
  /external/eigen/test/eigen2/
eigen2_cwiseop.cpp 100 m3 = m1.cwise().abs().cwise().sqrt();
101 VERIFY_IS_APPROX(m3.cwise().square(), m1.cwise().abs());
102 VERIFY_IS_APPROX(m1.cwise().square().cwise().sqrt(), m1.cwise().abs());
103 VERIFY_IS_APPROX(m1.cwise().abs().cwise().log().cwise().exp() , m1.cwise().abs());
106 m3 = (m1.cwise().abs().cwise()<=RealScalar(0.01)).select(mones,m1);
108 m3 = m1.cwise().abs();
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
ResizeHandler.java 28 import static java.lang.Math.abs;
110 int margin = mSnap ? 0 : abs(newBounds.x - x);
118 int margin = mSnap ? 0 : abs(newBounds.x - (x - newBounds.w));
133 int margin = mSnap ? 0 : abs(newBounds.y - y);
141 int margin = mSnap ? 0 : abs(newBounds.y - (y - newBounds.h));
220 && (!mSnap || Math.abs(match.delta) < BaseLayoutRule.getMaxMatchDistance())) {
244 && (!mSnap || Math.abs(match.delta) < BaseLayoutRule.getMaxMatchDistance())) {
  /external/eigen/Eigen/src/Jacobi/
Jacobi.h 86 using std::abs;
96 RealScalar tau = (x-z)/(RealScalar(2)*abs(y));
109 m_s = - sign_t * (numext::conj(y) / abs(y)) * abs(t) * n;
159 using std::abs;
171 m_s = -q/abs(q);
172 if(r) *r = abs(q);
204 p1 = abs(p);
218 using std::abs;
223 if(r) *r = abs(p)
    [all...]
  /external/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/
eval.pass.cpp 74 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
128 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
147 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
168 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
189 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
210 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
231 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
252 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
273 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/
eval.pass.cpp 74 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
128 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
147 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
168 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
189 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
210 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
231 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
252 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
273 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
  /cts/suite/audio_quality/test_description/processing/
check_spectrum.py 57 print "Phh", abs(Phh[iLow:iHigh])
58 print "Pdd", abs(Pdd[iLow:iHigh])
59 amplitudeRatio = np.sqrt(abs(Pdd[iLow:iHigh]/Phh[iLow:iHigh]))
64 positiveMax = abs(max(amplitudeRatio))
65 negativeMin = abs(min(amplitudeRatio))
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CameraPreview.java 280 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue;
281 if (Math.abs(size.height - targetHeight) < minDiff) {
283 minDiff = Math.abs(size.height - targetHeight);
291 if (Math.abs(size.height - targetHeight) < minDiff) {
293 minDiff = Math.abs(size.height - targetHeight);
SensorTest.java 90 if (Math.abs(diff[i]) > 0) {
111 boolean gestX = Math.abs(x) > 3;
112 boolean gestY = Math.abs(y) > 3;
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
CameraFragment.java 300 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE)
302 if (Math.abs(size.height - targetHeight) < minDiff) {
304 minDiff = Math.abs(size.height - targetHeight);
312 if (Math.abs(size.height - targetHeight) < minDiff) {
314 minDiff = Math.abs(size.height - targetHeight);
  /external/chromium_org/third_party/libwebp/dec/
buffer.c 45 const int y_stride = abs(buf->y_stride);
46 const int u_stride = abs(buf->u_stride);
47 const int v_stride = abs(buf->v_stride);
48 const int a_stride = abs(buf->a_stride);
69 const int stride = abs(buf->stride);
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
brw_vec4_copy_propagation.cpp 77 if (inst->src[arg].abs) {
179 value.abs != values[i]->abs) {
200 if (inst->src[arg].abs) {
202 value.abs = true;
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/lc3b/
lc3bbc.c 85 if (!insn->imm.abs)
214 if (!insn->imm.abs)
215 insn->imm.abs = yasm_expr_create_ident(yasm_expr_int(delta),
218 insn->imm.abs =
220 yasm_expr_expr(insn->imm.abs),
  /external/eigen/Eigen/src/Geometry/
Hyperplane.h 138 inline Scalar absDistance(const VectorType& p) const { using std::abs; return abs(signedDistance(p)); }
181 using std::abs;
188 if(abs(coeffs().coeff(1))>abs(coeffs().coeff(0)))
  /external/eigen/unsupported/Eigen/src/LevenbergMarquardt/
LMonestep.h 23 using std::abs;
78 m_gnorm = (std::max)(m_gnorm, abs( m_rfactor.col(j).head(j+1).dot(m_qtf.head(j+1)/m_fnorm) / m_wa2[m_permutation.indices()[j]]));
156 if (abs(actred) <= m_ftol && prered <= m_ftol && Scalar(.5) * ratio <= 1. && m_delta <= m_xtol * xnorm)
161 if (abs(actred) <= m_ftol && prered <= m_ftol && Scalar(.5) * ratio <= 1.)
178 if (abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scalar(.5) * ratio <= 1.)
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_vec4_copy_propagation.cpp 77 if (inst->src[arg].abs) {
179 value.abs != values[i]->abs) {
200 if (inst->src[arg].abs) {
202 value.abs = true;
  /external/webp/src/dec/
buffer.c 45 const int y_stride = abs(buf->y_stride);
46 const int u_stride = abs(buf->u_stride);
47 const int v_stride = abs(buf->v_stride);
48 const int a_stride = abs(buf->a_stride);
69 const int stride = abs(buf->stride);
  /cts/tests/tests/view/src/android/view/cts/
VelocityTrackerTest.java 196 float absError = Math.abs(actual - expected);
200 if (Math.abs(expected) < 0.001f) {
203 return absError / Math.abs(expected);
  /external/chromium_org/third_party/webrtc/common_audio/signal_processing/
min_max_operations.c 44 absolute = abs((int)vector[i]);
51 // Guard the case for abs(-32768).
62 // of abs(0x80000000), which is 0x80000000.
72 absolute = abs((int)vector[i]);
149 // Use type int for local variables, to accomodate the value of abs(-32768).
158 absolute = abs((int)vector[i]);
  /external/deqp/framework/common/
tcuTexVerifierUtil.cpp 66 const float ax = de::abs(x);
67 const float ay = de::abs(y);
68 const float az = de::abs(z);
  /external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/
eval_param.pass.cpp 67 assert(std::abs(f(u[i], p.m(), p.n()) - double(i)/N) < .01);
86 assert(std::abs(f(u[i], p.m(), p.n()) - double(i)/N) < .01);
105 assert(std::abs(f(u[i], p.m(), p.n()) - double(i)/N) < .01);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/
eval_param.pass.cpp 67 assert(std::abs(f(u[i], p.m(), p.n()) - double(i)/N) < .01);
86 assert(std::abs(f(u[i], p.m(), p.n()) - double(i)/N) < .01);
105 assert(std::abs(f(u[i], p.m(), p.n()) - double(i)/N) < .01);
  /packages/apps/Camera2/src/com/android/camera/ui/
MainActivityLayout.java 108 && Math.abs(deltaX) > mSlop) {
110 if (deltaX >= Math.abs(deltaY) * 2) {
116 else if (deltaX < -Math.abs(deltaY) * 2) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
MatrixUtils.java 48 float pivot = Math.abs(squareMatrix0[row][row]);
50 if (pivot < Math.abs(squareMatrix0[i][row])) {
52 pivot = Math.abs(squareMatrix0[i][row]);
  /system/core/libpixelflinger/codeflinger/
ARMAssembler.cpp 529 LOG_ALWAYS_FATAL_IF(abs(immed12) >= 0x800,
533 ((W&1)<<21) | (abs(immed12)&0x7FF);
538 LOG_ALWAYS_FATAL_IF(abs(immed12) >= 0x800,
542 return (((uint32_t(immed12)>>31)^1)<<23) | (abs(immed12)&0x7FF);
550 reg_imm(abs(Rm), type, shift);
555 return (1<<25) | (((uint32_t(Rm)>>31)^1)<<23) | reg_imm(abs(Rm), type, shift);
561 uint32_t offset = abs(immed8);
563 LOG_ALWAYS_FATAL_IF(abs(immed8) >= 0x100,
573 uint32_t offset = abs(immed8);
575 LOG_ALWAYS_FATAL_IF(abs(immed8) >= 0x100
    [all...]

Completed in 1108 milliseconds

<<11121314151617181920>>