/external/eigen/Eigen/src/SparseCore/ |
H A D | SparseDot.h | 84 SparseMatrixBase<Derived>::norm() const function in class:Eigen::SparseMatrixBase
|
/external/eigen/Eigen/src/Core/arch/CUDA/ |
H A D | Complex.h | 89 const T norm = T(1) / (b_real * b_real + b_imag * b_imag); local 90 return std::complex<T>((a_real * b_real + a_imag * b_imag) * norm, 91 (a_imag * b_real - a_real * b_imag) * norm);
|
/external/eigen/Eigen/src/Core/ |
H A D | Dot.h | 63 * \sa squaredNorm(), norm() 84 //---------- implementation of L2 norm and related functions ---------- 86 /** \returns, for vectors, the squared \em l2 norm of \c *this, and for matrices the Frobenius norm. 90 * \sa dot(), norm(), lpNorm() 98 /** \returns, for vectors, the \em l2 norm of \c *this, and for matrices the Frobenius norm. 105 inline typename NumTraits<typename internal::traits<Derived>::Scalar>::Real MatrixBase<Derived>::norm() const function in class:Eigen::MatrixBase 110 /** \returns an expression of the quotient of \c *this by its own norm. 112 * \warning If the input vector is too small (i.e., this->norm() [all...] |
H A D | VectorwiseOp.h | 100 EIGEN_MEMBER_FUNCTOR(norm, (Size+5) * NumTraits<Scalar>::MulCost + (Size-1)*NumTraits<Scalar>::AddCost); 320 /** \returns a row (or column) vector expression of the squared norm 332 /** \returns a row (or column) vector expression of the norm 339 * \sa DenseBase::norm() */ 341 const NormReturnType norm() const function in class:Eigen::VectorwiseOp 344 /** \returns a row (or column) vector expression of the norm 351 * \sa DenseBase::norm() */ 358 /** \returns a row (or column) vector expression of the norm 369 /** \returns a row (or column) vector expression of the norm 380 /** \returns a row (or column) vector expression of the norm [all...] |
/external/libtextclassifier/lang_id/ |
H A D | language-identifier-features.cc | 124 const float norm = static_cast<float>(total_count); local 127 const float weight = counts_[ngram_id] / norm;
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
H A D | levinson_durbin.c | 38 int16_t norm; local 42 norm = WebRtcSpl_NormW32(R[0]); 46 temp1W32 = WEBRTC_SPL_LSHIFT_W32(R[i], norm); 135 norm = WebRtcSpl_NormW32(temp3W32); 136 if ((Alpha_exp <= norm) || (temp3W32 == 0)) 212 norm = WebRtcSpl_NormW32(temp1W32); 213 temp1W32 = WEBRTC_SPL_LSHIFT_W32(temp1W32, norm); 219 Alpha_exp = Alpha_exp + norm;
|
/external/eigen/blas/ |
H A D | 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/ |
H A D | 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
H A D | 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; 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(fina method in class:Tnaf [all...] |
/external/eigen/Eigen/src/Geometry/ |
H A D | Hyperplane.h | 105 RealScalar norm = result.normal().norm(); local 106 if(norm <= v0.norm() * v1.norm() * NumTraits<RealScalar>::epsilon()) 113 result.normal() /= norm; 137 m_coeffs /= normal().norm(); 222 m_coeffs /= normal().norm();
|
H A D | Quaternion.h | 112 /** \returns the squared norm of the quaternion's coefficients 113 * \sa QuaternionBase::norm(), MatrixBase::squaredNorm() 117 /** \returns the norm of the quaternion's coefficients 118 * \sa QuaternionBase::squaredNorm(), MatrixBase::norm() 120 EIGEN_DEVICE_FUNC inline Scalar norm() const { return coeffs().norm(); } function in class:Eigen::QuaternionBase 574 * do not need to have the same norm. 641 * do not need to have the same norm. 709 return Scalar(2) * atan2( d.vec().norm(), numext::abs(d.w()) );
|
/external/llvm/lib/CodeGen/ |
H A D | CalcSpillWeights.cpp | 31 VirtRegAuxInfo::NormalizingFn norm) { 36 VirtRegAuxInfo VRAI(MF, LIS, VRM, MLI, MBFI, norm); 26 calculateSpillWeightsAndHints(LiveIntervals &LIS, MachineFunction &MF, VirtRegMap *VRM, const MachineLoopInfo &MLI, const MachineBlockFrequencyInfo &MBFI, VirtRegAuxInfo::NormalizingFn norm) argument
|
/external/lzma/xz-embedded/ |
H A D | xz_dec_bcj.c | 220 uint64_t norm; local 235 norm = instr >> bit_res; 237 if (((norm >> 37) & 0x0F) == 0x05 238 && ((norm >> 9) & 0x07) == 0) { 239 addr = (norm >> 13) & 0x0FFFFF; 240 addr |= ((uint32_t)(norm >> 36) & 1) << 20; 245 norm &= ~((uint64_t)0x8FFFFF << 13); 246 norm |= (uint64_t)(addr & 0x0FFFFF) << 13; 247 norm |= (uint64_t)(addr & 0x100000) 251 instr |= norm << bit_re [all...] |
/external/mesa3d/src/mesa/tnl/ |
H A D | t_rasterpos.c | 378 GLfloat *norm, eyenorm[3]; local 438 norm = eyenorm; 441 norm = objnorm; 447 shade_rastpos( ctx, vObj, norm, 466 compute_texgen(ctx, vObj, eye, norm, u, tc);
|
H A D | t_vb_texgen.c | 107 const GLfloat *norm = normal->start; local 110 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { 114 two_nu = 2.0F * DOT3(norm,u); 115 fx = f[i][0] = u[0] - norm[0] * two_nu; 116 fy = f[i][1] = u[1] - norm[1] * two_nu; 117 fz = f[i][2] = u[2] - norm[2] * two_nu; 135 GLfloat *norm = normal->start; local 138 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { 143 two_nu = 2.0F * DOT3(norm,u); 144 fx = f[i][0] = u[0] - norm[ 184 GLfloat *norm = normal->start; local 210 GLfloat *norm = normal->start; local 284 const GLfloat *norm = normal->start; local 389 const GLfloat *norm = normal->start; local 422 const GLfloat *norm = normal->start; local 451 const GLfloat *norm = normal->start; local [all...] |
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
H A D | aimd_rate_control.cc | 270 const float norm = std::max(avg_max_bitrate_kbps_, 1.0f); local 273 (avg_max_bitrate_kbps_ - incoming_bitrate_kbps) / norm;
|
/external/webrtc/webrtc/modules/video_processing/ |
H A D | content_analysis.cc | 257 const float norm = static_cast<float>(pixelMSA); local 260 spatial_pred_err_ = spatialErr / norm; 262 spatial_pred_err_h_ = spatialErrH / norm; 264 spatial_pred_err_v_ = spatialErrV / norm;
|
H A D | content_analysis_sse2.cc | 257 const float norm = static_cast<float>(pixelMSA); local 260 spatial_pred_err_ = spatialErr / norm; 263 spatial_pred_err_h_ = spatialErrH / norm; 266 spatial_pred_err_v_ = spatialErrV / norm;
|
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
H A D | matrixop.c | 70 float norm = sqrtf((*ax) * (*ax) + (*ay) * (*ay) + (*az) * (*az)); local 71 if (norm > 0) 73 *ax /= norm; 74 *ay /= norm; 75 *az /= norm; 77 return norm; 90 float norm = normalize(&ax, &ay, &az); local 92 if (norm == 0 || angle == 0)
|
/external/eigen/Eigen/src/Eigenvalues/ |
H A D | RealSchur.h | 304 Scalar norm = computeNormOfT(); local 306 if(norm!=0) 351 /** \internal Computes and returns vector L1 norm of T */ 357 // Scalar norm = m_matT.upper().cwiseAbs().sum() 359 Scalar norm(0); 361 norm += m_matT.col(j).segment(0, (std::min)(size,j+2)).cwiseAbs().sum(); 362 return norm;
|
/external/icu/icu4c/source/test/intltest/ |
H A D | tscoll.cpp | 146 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status); local 184 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); 218 if(norm != UCOL_ON && !quick) { 222 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status);
|
/external/opencv/cxcore/src/ |
H A D | cxnorm.cpp | 57 norm = _update_op_( norm, t0 ); \ 58 norm = _update_op_( norm, t1 ); \ 64 norm = _update_op_( norm, t0 ); \ 65 norm = _update_op_( norm, t1 ); \ 72 norm = _update_op_( norm, t 971 double norm = 0, norm_diff = 0; local [all...] |
/external/skia/src/gpu/ops/ |
H A D | GrAAConvexTessellator.h | 153 const SkPoint& norm(int index) const { return fPts[index].fNorm; } function in class:GrAAConvexTessellator::Ring
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
H A D | CollationTest.java | 1382 private boolean getCollationKey(String norm, String line, String s, Output<CollationKey> keyOut) { argument 1391 errln("Collator(" + norm + ").getCollationKey() wrote an empty or unterminated key"); 1411 errln("Collator(" + norm + ").getCollationKey() contains a 00 byte"); 1422 errln("Collator(" + norm + ").getCollationKey() has " 1491 private boolean checkCompareTwo(String norm, String prevFileLine, String prevString, String s, argument 1496 if (!getCollationKey(norm, fileLine, prevString, prevKeyOut)) { 1503 if (!getCollationKey(norm, fileLine, s, keyOut)) { 1516 + " Collator(" + norm + ").compare(previous, current) wrong order: " 1528 + " Collator(" + norm + ").compare(current, previous) wrong order: " 1541 + " Collator(" + norm [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
H A D | CollationTest.java | 1381 private boolean getCollationKey(String norm, String line, String s, Output<CollationKey> keyOut) { argument 1390 errln("Collator(" + norm + ").getCollationKey() wrote an empty or unterminated key"); 1410 errln("Collator(" + norm + ").getCollationKey() contains a 00 byte"); 1421 errln("Collator(" + norm + ").getCollationKey() has " 1490 private boolean checkCompareTwo(String norm, String prevFileLine, String prevString, String s, argument 1495 if (!getCollationKey(norm, fileLine, prevString, prevKeyOut)) { 1502 if (!getCollationKey(norm, fileLine, s, keyOut)) { 1515 + " Collator(" + norm + ").compare(previous, current) wrong order: " 1527 + " Collator(" + norm + ").compare(current, previous) wrong order: " 1540 + " Collator(" + norm [all...] |