/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";
|
/external/eigen/Eigen/src/Geometry/ |
EulerAngles.h | 59 Scalar s2 = Vector2(coeff(j,i), coeff(k,i)).norm(); 64 Scalar s2 = Vector2(coeff(j,i), coeff(k,i)).norm(); 85 Scalar c2 = Vector2(coeff(i,i), coeff(i,j)).norm();
|
/frameworks/av/services/audioflinger/ |
AudioMixerOps.h | 87 static const float norm = 1. / (1 << 12); local 88 return value * volume * norm; 93 static const float norm = 1. / (1 << 28); local 94 return value * volume * norm; 109 static const float norm = 1. / (1 << (15 + 12)); local 110 return static_cast<float>(value) * static_cast<float>(volume) * norm; 115 static const float norm = 1. / (1ULL << (15 + 28)); local 116 return static_cast<float>(value) * static_cast<float>(volume) * norm; 195 static const float norm = 1. / (1 << 15); local 196 *auxaccum += norm * value 201 static const float norm = 1. \/ (1 << 27); local [all...] |
/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 717 BigInteger norm = norm(mu, lambda); local [all...] |
/external/ceres-solver/internal/ceres/ |
rotation_test.cc | 73 *result_listener << "squared norm is " << norm2; 318 double norm = 0; local 321 norm += axis_angle[i] * axis_angle[i]; 323 norm = sqrt(norm); 328 axis_angle[i] = axis_angle[i] * theta / norm; 350 double norm = 0; local 353 norm += quaternion[i] * quaternion[i]; 355 norm = sqrt(norm); 427 double norm = 0; local 526 double norm = 0; local 559 double norm = 0; local [all...] |
dogleg_strategy_test.cc | 148 EXPECT_LE(x_.norm(), options_.initial_radius * (1.0 + 4.0 * kEpsilon)); 168 EXPECT_LE(x_.norm(), options_.initial_radius * (1.0 + 4.0 * kEpsilon)); 213 EXPECT_NEAR(basis.col(0).norm(), 1.0, kTolerance); 214 EXPECT_NEAR(basis.col(1).norm(), 1.0, kTolerance); 219 EXPECT_NEAR((gradient - basis*(basis.transpose()*gradient)).norm(), 225 EXPECT_NEAR((gn - basis*(basis.transpose()*gn)).norm(),
|
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;
|
schur_eliminator_test.cc | 177 double diff = delta.norm(); 178 EXPECT_NEAR(diff / lhs_expected.norm(), 0.0, relative_tolerance); 179 EXPECT_NEAR((rhs - rhs_expected).norm() / rhs_expected.norm(), 0.0, 181 EXPECT_NEAR((sol - sol_expected).norm() / sol_expected.norm(), 0.0,
|
dogleg_strategy.cc | 203 const double gradient_norm = gradient_.norm(); 204 const double gauss_newton_norm = gauss_newton_step_.norm(); 250 dogleg_step_norm_ = dogleg_step.norm(); 276 // As a consequence, the norm of the gauss_newton_step_ in the subspace is 277 // the same as its norm in the original space. 278 const double gauss_newton_norm = gauss_newton_step_.norm(); 310 dogleg_step = -(radius_ / gradient_.norm()) * gradient_; 346 (minimum.norm() * grad_minimum.norm()); 501 if (x_i.norm() > 0) [all...] |
conjugate_gradients_solver.cc | 85 const double norm_b = bref.norm(); 103 double norm_r = r.norm(); 221 norm_r = r. norm();
|
/external/eigen/test/eigen2/ |
eigen2_adjoint.cpp | 51 // check basic properties of dot, norm, norm2 58 VERIFY_IS_APPROX(v1.squaredNorm(), v1.norm() * v1.norm()); 61 VERIFY_IS_MUCH_SMALLER_THAN(vzero.norm(), static_cast<RealScalar>(1)); 76 VERIFY_IS_APPROX(VectorType::Random(rows).normalized().norm(), RealScalar(1));
|
/frameworks/rs/ |
rsComponent.h | 34 void set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize=1);
|
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/ |
rsComponent.h | 34 void set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize=1);
|
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/ |
rsComponent.h | 34 void set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize=1);
|
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/ |
rsComponent.h | 34 void set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize=1);
|
/cts/suite/audio_quality/test_description/processing/ |
calc_thd.py | 37 P0 = math.pow(la.norm(fftData[baseSignalLoc - iMargain/2: baseSignalLoc + iMargain/2]), 2) 41 Pothers += math.pow(la.norm(fftData[i - iMargain/2: i + iMargain/2]), 2)
|
/external/eigen/test/ |
prec_inverse_4x4.cpp | 22 double error = double( (m*inv-MatrixType::Identity()).norm() / NumTraits<Scalar>::epsilon() ); 44 double error = double( (m*inv-MatrixType::Identity()).norm() * absdet / NumTraits<Scalar>::epsilon() );
|
/external/libcxx/test/numerics/complex.number/cmplx.over/ |
Android.mk | 43 test_name := numerics/complex.number/cmplx.over/norm 44 test_src := norm.pass.cpp
|
/external/libcxx/test/numerics/complex.number/complex.value.ops/ |
Android.mk | 47 test_name := numerics/complex.number/complex.value.ops/norm 48 test_src := norm.pass.cpp
|
/frameworks/ml/bordeaux/learning/multiclass_pa/native/ |
multiclass_pa.cpp | 90 float norm = 0; local 92 norm += inputs[i] * inputs[i]; 94 return norm; 99 float norm = 0; local 101 norm += inputs[i].second * inputs[i].second; 103 return norm;
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
tstnorm.cpp | 165 Normalizer* norm = new Normalizer("", UNORM_NFD); local 170 backAndForth(norm, canonTests[i][0]); 174 norm->setMode(UNORM_NFC); 176 backAndForth(norm, canonTests[i][0]); 179 delete norm; 184 Normalizer* norm = new Normalizer("", UNORM_NFD); local 185 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 1); 187 delete norm; 192 Normalizer* norm = new Normalizer("", UNORM_NFKD); local 193 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 1) 202 Normalizer* norm = new Normalizer("", UNORM_NFC); local 212 Normalizer* norm = new Normalizer("", UNORM_NFKC); local 232 Normalizer* norm = new Normalizer("", UNORM_NFC); local 254 Normalizer* norm = new Normalizer("", UNORM_NFD); local [all...] |
/external/icu/icu4c/source/test/intltest/ |
tstnorm.cpp | 166 Normalizer* norm = new Normalizer("", UNORM_NFD); local 171 backAndForth(norm, canonTests[i][0]); 175 norm->setMode(UNORM_NFC); 177 backAndForth(norm, canonTests[i][0]); 180 delete norm; 185 Normalizer* norm = new Normalizer("", UNORM_NFD); local 186 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 1); 188 delete norm; 193 Normalizer* norm = new Normalizer("", UNORM_NFKD); local 194 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 1) 203 Normalizer* norm = new Normalizer("", UNORM_NFC); local 213 Normalizer* norm = new Normalizer("", UNORM_NFKC); local 233 Normalizer* norm = new Normalizer("", UNORM_NFC); local 255 Normalizer* norm = new Normalizer("", UNORM_NFD); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_type.h | 109 unsigned norm:1; member in struct:lp_type 271 res_type.norm = TRUE; 344 type.norm = FALSE; 360 type.norm = FALSE; 376 type.norm = TRUE;
|
/external/eigen/blas/ |
level1_impl.h | 113 RealScalar norm,scale; local 123 norm = scale*sqrt((numext::abs2(a/scale)) + (numext::abs2(b/scale))); 125 *c = abs(a)/norm; 126 *s = alpha*numext::conj(b)/norm; 127 a = alpha*norm;
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_type.h | 109 unsigned norm:1; member in struct:lp_type 271 res_type.norm = TRUE; 344 type.norm = FALSE; 360 type.norm = FALSE; 376 type.norm = TRUE;
|