/external/ceres-solver/internal/ceres/ |
blas_test.cc | 73 EXPECT_NEAR((C_plus_ref - C_plus).norm(), 0.0, kTolerance) 91 EXPECT_NEAR((C_minus_ref - C_minus).norm(), 0.0, kTolerance) 108 EXPECT_NEAR((C_assign_ref - C_assign).norm(), 0.0, kTolerance) 156 EXPECT_NEAR((C_plus_ref - C_plus).norm(), 0.0, kTolerance) 173 EXPECT_NEAR((C_minus_ref - C_minus).norm(), 0.0, kTolerance) 190 EXPECT_NEAR((C_assign_ref - C_assign).norm(), 0.0, kTolerance) 229 EXPECT_NEAR((c_plus_ref - c_plus).norm(), 0.0, kTolerance) 238 EXPECT_NEAR((c_minus_ref - c_minus).norm(), 0.0, kTolerance) 247 EXPECT_NEAR((c_assign_ref - c_assign).norm(), 0.0, kTolerance) 278 EXPECT_NEAR((c_plus_ref - c_plus).norm(), 0.0, kTolerance [all...] |
small_blas_test.cc | 73 EXPECT_NEAR((C_plus_ref - C_plus).norm(), 0.0, kTolerance) 91 EXPECT_NEAR((C_minus_ref - C_minus).norm(), 0.0, kTolerance) 108 EXPECT_NEAR((C_assign_ref - C_assign).norm(), 0.0, kTolerance) 156 EXPECT_NEAR((C_plus_ref - C_plus).norm(), 0.0, kTolerance) 173 EXPECT_NEAR((C_minus_ref - C_minus).norm(), 0.0, kTolerance) 190 EXPECT_NEAR((C_assign_ref - C_assign).norm(), 0.0, kTolerance) 229 EXPECT_NEAR((c_plus_ref - c_plus).norm(), 0.0, kTolerance) 238 EXPECT_NEAR((c_minus_ref - c_minus).norm(), 0.0, kTolerance) 247 EXPECT_NEAR((c_assign_ref - c_assign).norm(), 0.0, kTolerance) 278 EXPECT_NEAR((c_plus_ref - c_plus).norm(), 0.0, kTolerance [all...] |
block_sparse_matrix_test.cc | 79 EXPECT_LT((y_a - y_b).norm(), 1e-12); 91 EXPECT_LT((y_a - y_b).norm(), 1e-12); 100 EXPECT_LT((y_a - y_b).norm(), 1e-12); 108 EXPECT_LT((m_a - m_b).norm(), 1e-12);
|
normal_prior_test.cc | 76 // Compare the norm of the residual 83 double jacobian_diff_norm = (J - A).norm(); 115 // Compare the norm of the residual 121 // Compare the norm of the residual
|
dense_sparse_matrix_test.cc | 65 EXPECT_EQ((y_a - y_b).norm(), 0); 106 EXPECT_EQ((b1 - b2).norm(), 0); 120 EXPECT_EQ((b1 - b2).norm(), 0); 135 EXPECT_EQ((b1 - b2).norm(), 0); 145 EXPECT_EQ((b1 - b2).norm(), 0); 165 EXPECT_EQ((tsm_dense - dsm_dense).norm(), 0.0);
|
incomplete_lq_factorization.cc | 44 // Normalize a row and return it's norm. 50 double norm = 0.0; local 52 norm += values[i] * values[i]; 55 norm = sqrt(norm); 56 const double inverse_norm = 1.0 / norm; 61 return norm;
|
block_random_access_crs_matrix_test.cc | 98 EXPECT_NEAR((dense.block(0, 0, 3, 3) - Matrix::Ones(3, 3)).norm(), 102 EXPECT_NEAR((dense.block(3, 3, 4, 4) - 2 * 2 * Matrix::Ones(4, 4)).norm(), 106 EXPECT_NEAR((dense.block(3, 3 + 4, 4, 5) - 2 * 3 * Matrix::Ones(4, 5)).norm(), 110 EXPECT_NEAR((dense.block(3 + 4, 0, 5, 3) - 3 * 1 * Matrix::Ones(5, 3)).norm(), 115 EXPECT_NEAR(dense.norm(), sqrt(9. + 16. * 16. + 36. * 20. + 9. * 15.),
|
block_random_access_sparse_matrix_test.cc | 101 EXPECT_NEAR((dense.block(0, 0, 3, 3) - Matrix::Ones(3, 3)).norm(), 105 EXPECT_NEAR((dense.block(3, 3, 4, 4) - 2 * 2 * Matrix::Ones(4, 4)).norm(), 109 EXPECT_NEAR((dense.block(3, 3 + 4, 4, 5) - 2 * 3 * Matrix::Ones(4, 5)).norm(), 113 EXPECT_NEAR((dense.block(3 + 4, 0, 5, 3) - 3 * 1 * Matrix::Ones(5, 3)).norm(), 118 EXPECT_NEAR(dense.norm(), sqrt(9. + 16. * 16. + 36. * 20. + 9. * 15.),
|
/external/llvm/test/CodeGen/ARM/ |
fast-isel-static.ll | 3 ; RUN: llc < %s -mtriple=thumbv7-apple-darwin -O0 -verify-machineinstrs -fast-isel-abort -relocation-model=static | FileCheck -check-prefix=NORM %s 4 ; RUN: llc < %s -mtriple=thumbv7-linux-gnueabi -O0 -verify-machineinstrs -fast-isel-abort -relocation-model=static | FileCheck -check-prefix=NORM %s 29 ; CHECK-NORM: bl {{_?}}myadd
|
/frameworks/opt/timezonepicker/res/values-fi/ |
arrays.xml | 26 <item msgid="5984634754870859705">"Keskinen norm. ? Saskatchewan"</item> 31 <item msgid="7076353182411415610">"Tyynenmeren norm. ? Metlakatla"</item> 32 <item msgid="373990592918179890">"Kalliovuort. norm.aika ? Arizona"</item>
|
/frameworks/opt/timezonepicker/res/values-fr-rCA/ |
arrays.xml | 25 <item msgid="5259393186526893961">"Heure norm. Roch. (Dawson Creek)"</item> 31 <item msgid="7076353182411415610">"Heure norm. Pacif. (Metlakatla)"</item> 32 <item msgid="373990592918179890">"Heure norm. Rocheuses (Arizona)"</item>
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
Quaternion.java | 397 float norm = norm();
local 398 // we explicitly test norm against one here, saving a division
400 float s = (norm == 1f) ? 2f : (norm > 0f) ? 2f / norm : 0;
417 // using s=2/norm (instead of 1/norm) saves 9 multiplications by 2 here
442 float norm = norm();
local 506 float norm = norm(); local 1079 public float norm() { method in class:Quaternion 1117 float norm = norm(); local 1135 float norm = norm(); local [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorTestOperations/ |
VerifyMagnitudeOperation.java | 31 * Test Operation class that validates the norm of a given sensor. 64 "Norm",
|
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/tests/ |
sunspider-math-spectral-norm.html | 53 window.onload = function(){ startTest("sunspider-math-spectral-norm", 'e740809d'); 55 test( "Spectral Norm", function(){
|
/external/eigen/bench/ |
quat_slerp.cpp | 92 theta = /*M_PI -*/ Scalar(2)*std::asin( (a.coeffs()+b.coeffs()).norm()/2 ); 94 theta = Scalar(2)*std::asin( (a.coeffs()-b.coeffs()).norm()/2 ); 115 // theta = Scalar(2) * atan2((a.coeffs()-b.coeffs()).norm(),(a.coeffs()+b.coeffs()).norm()); 120 theta = /*M_PI -*/ Scalar(2)*std::asin( (-a.coeffs()-b.coeffs()).norm()/2 ); 122 theta = Scalar(2)*std::asin( (a.coeffs()-b.coeffs()).norm()/2 ); 199 err[0] = (cr.coeffs()-refc.cast<RefScalar>().coeffs()).norm(); 203 err[k+1] = (c[k].coeffs()-refc.coeffs()).norm();
|
/external/webrtc/src/common_audio/signal_processing/ |
levinson_durbin.c | 38 WebRtc_Word16 norm; local 42 norm = WebRtcSpl_NormW32(R[0]); 46 temp1W32 = WEBRTC_SPL_LSHIFT_W32(R[i], norm); 142 norm = WebRtcSpl_NormW32(temp3W32); 143 if ((Alpha_exp <= norm) || (temp3W32 == 0)) 224 norm = WebRtcSpl_NormW32(temp1W32); 225 temp1W32 = WEBRTC_SPL_LSHIFT_W32(temp1W32, norm); 232 Alpha_exp = Alpha_exp + norm;
|
/external/eigen/test/eigen2/ |
eigen2_regression.cpp | 41 } while( cur_point.norm() < 0.5 42 || cur_point.norm() > 2.0 ); 60 typename VectorType::Scalar error = (result - original).norm() / original.norm(); 75 typename VectorType::Scalar error = (result.coeffs() - original.coeffs()).norm() / original.coeffs().norm();
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
sparse_weight_vector.h | 64 // 4. its L0 norm is close to zero. 71 void SetNormalizer(const double norm) { 72 normalizer_ = norm; 142 // L-x norm. eg. L1, L2. 156 // Reproject using the given norm. 158 int32 Reproject(const double norm, const RegularizationType r);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
Tnaf.java | 75 * Computes the norm of an element <code>λ</code> of 80 * @return The norm of <code>λ</code>. 82 public static BigInteger norm(final byte mu, ZTauElement lambda) method in class:Tnaf 84 BigInteger norm; local 97 norm = s1.add(s2).add(s3); 101 norm = s1.subtract(s2).add(s3); 108 return norm; 112 * Computes the norm of an element <code>λ</code> of 121 * @return The norm of <code>λ</code>. 123 public static SimpleBigDecimal norm(final byte mu, SimpleBigDecimal u method in class:Tnaf 126 SimpleBigDecimal norm; local 321 BigInteger norm = norm(mu, lambda); local 731 BigInteger norm = norm(mu, lambda); local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_maos_vbtmp.h | 46 GLuint (*norm)[4]; 117 norm = (GLuint (*)[4])VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; 120 norm = (GLuint (*)[4])&ctx->Current.Attrib[VERT_ATTRIB_NORMAL]; 164 norm = (GLuint (*)[4])((GLubyte *)norm + start * norm_stride); 189 v[0].ui = norm[0][0]; 190 v[1].ui = norm[0][1]; 191 v[2].ui = norm[0][2]; 193 norm = (GLuint (*)[4])((GLubyte *)norm + norm_stride) [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_maos_vbtmp.h | 46 GLuint (*norm)[4]; 117 norm = (GLuint (*)[4])VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; 120 norm = (GLuint (*)[4])&ctx->Current.Attrib[VERT_ATTRIB_NORMAL]; 164 norm = (GLuint (*)[4])((GLubyte *)norm + start * norm_stride); 189 v[0].ui = norm[0][0]; 190 v[1].ui = norm[0][1]; 191 v[2].ui = norm[0][2]; 193 norm = (GLuint (*)[4])((GLubyte *)norm + norm_stride) [all...] |
/system/core/toolbox/ |
vmstat.c | 222 #define NORM(var) ((var) = (((var) > 99) ? (99) : (var))) 226 us = JP(new->cpu_us - old->cpu_us); NORM(us); 227 ni = JP(new->cpu_ni - old->cpu_ni); NORM(ni); 228 sy = JP(new->cpu_sy - old->cpu_sy); NORM(sy); 229 id = JP(new->cpu_id - old->cpu_id); NORM(id); 230 wa = JP(new->cpu_wa - old->cpu_wa); NORM(wa); 231 ir = JP(new->cpu_ir - old->cpu_ir); NORM(ir);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_test_main.c | 54 type.norm ? "n" : "", 128 if(type.norm && value < -1.0) 130 if(type.norm && value > 1.0) 197 if(!type.norm) { 306 if(type.sign && !type.norm) { 339 format = type.norm ? "%2x" : "%4llu"; 343 format = type.norm ? "%4x" : "%6llx"; 347 format = type.norm ? "%8x" : "%11llx"; 351 format = type.norm ? "%16x" : "%21llx";
|
/external/dropbear/libtommath/ |
bn_mp_div.c | 106 int res, n, t, i, norm, neg; local 152 norm = mp_count_bits(&y) % DIGIT_BIT; 153 if (norm < (int)(DIGIT_BIT-1)) { 154 norm = (DIGIT_BIT-1) - norm; 155 if ((res = mp_mul_2d (&x, norm, &x)) != MP_OKAY) { 158 if ((res = mp_mul_2d (&y, norm, &y)) != MP_OKAY) { 162 norm = 0; 272 if ((res = mp_div_2d (&x, norm, &x, NULL)) != MP_OKAY) {
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_test_main.c | 54 type.norm ? "n" : "", 128 if(type.norm && value < -1.0) 130 if(type.norm && value > 1.0) 197 if(!type.norm) { 306 if(type.sign && !type.norm) { 339 format = type.norm ? "%2x" : "%4llu"; 343 format = type.norm ? "%4x" : "%6llx"; 347 format = type.norm ? "%8x" : "%11llx"; 351 format = type.norm ? "%16x" : "%21llx";
|