Searched defs:norm (Results 1 - 25 of 81) sorted by relevance

1234

/external/eigen/Eigen/src/SparseCore/
H A DSparseDot.h87 SparseMatrixBase<Derived>::norm() const function in class:Eigen::SparseMatrixBase
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/
H A Dlevinson_durbin.c38 int16_t 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/Eigen/src/Core/
H A DDot.h58 * \sa squaredNorm(), norm()
104 //---------- implementation of L2 norm and related functions ----------
106 /** \returns, for vectors, the squared \em l2 norm of \c *this, and for matrices the Frobenius norm.
110 * \sa dot(), norm()
118 /** \returns, for vectors, the \em l2 norm of \c *this, and for matrices the Frobenius norm.
125 inline typename NumTraits<typename internal::traits<Derived>::Scalar>::Real MatrixBase<Derived>::norm() const function in class:Eigen::MatrixBase
131 /** \returns an expression of the quotient of *this by its own norm.
135 * \sa norm(), normaliz
[all...]
/external/webrtc/src/common_audio/signal_processing/
H A Dlevinson_durbin.c38 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/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_type.h109 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/
H A Dlevel1_impl.h113 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/llvm/lib/CodeGen/
H A DCalcSpillWeights.cpp29 VirtRegAuxInfo::NormalizingFn norm) {
34 VirtRegAuxInfo VRAI(MF, LIS, MLI, MBFI, norm);
25 calculateSpillWeightsAndHints(LiveIntervals &LIS, MachineFunction &MF, const MachineLoopInfo &MLI, const MachineBlockFrequencyInfo &MBFI, VirtRegAuxInfo::NormalizingFn norm) argument
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_type.h109 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/stlport/stlport/stl/
H A D_complex.h741 inline _Tp _STLP_CALL norm(const complex<_Tp>& __z) function
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DTnaf.java75 * Computes the norm of an element <code>&lambda;</code> of
80 * @return The norm of <code>&lambda;</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>&lambda;</code> of
121 * @return The norm of <code>&lambda;</code>.
123 public static SimpleBigDecimal norm(fina method in class:Tnaf
[all...]
/external/ceres-solver/internal/ceres/
H A Dincomplete_lq_factorization.cc44 // 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;
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DImage.cpp107 FloatRect norm = rect; local
108 if (norm.width() < 0) {
109 norm.setX(norm.x() + norm.width());
110 norm.setWidth(-norm.width());
112 if (norm.height() < 0) {
113 norm.setY(norm
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
H A Dt_rasterpos.c378 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 Dt_vb_texgen.c107 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/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/
H A Dremote_rate_control.cc272 const float norm = std::max(avg_max_bit_rate_, 1.0f); local
275 (avg_max_bit_rate_ - incoming_bit_rate_kbps) / norm;
/external/chromium_org/third_party/webrtc/modules/video_processing/main/source/
H A Dcontent_analysis.cc252 const float norm = (float)pixelMSA; local
255 spatial_pred_err_ = spatialErr / norm;
257 spatial_pred_err_h_ = spatialErrH / norm;
259 spatial_pred_err_v_ = spatialErrV / norm;
H A Dcontent_analysis_sse2.cc250 const float norm = (float)pixelMSA; local
253 spatial_pred_err_ = spatialErr / norm;
256 spatial_pred_err_h_ = spatialErrH / norm;
259 spatial_pred_err_v_ = spatialErrV / norm;
/external/mesa3d/src/mesa/tnl/
H A Dt_rasterpos.c378 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 Dt_vb_texgen.c107 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/srec/srec/crec/
H A Dget_fram.c438 void convert_adjustment_to_imelda(norm_info *norm, preprocessed *prep) argument
444 ASSERT(norm);
446 fram[ii] = (imeldata) norm->adjust[ii]; /* TODO: review types */
453 norm->imelda_adjust[ii] = fram[ii];
456 for (ii = 0; ii < norm->dim; ii++)
457 log_report("%d ", (int)norm->imelda_adjust[ii]);
460 norm->adj_valid = True;
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dtscoll.cpp162 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status); local
200 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status);
234 if(norm != UCOL_ON && !quick) {
238 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status);
/external/chromium_org/ui/events/gesture_detection/
H A Dvelocity_tracker.cc509 float norm = VectorNorm(&q[j][0], m); local
510 if (norm < 0.000001f) {
515 float invNorm = 1.0f / norm;
/external/eigen/Eigen/src/Eigen2Support/Geometry/
H A DQuaternion.h139 /** \returns the squared norm of the quaternion's coefficients
140 * \sa Quaternion::norm(), MatrixBase::squaredNorm()
144 /** \returns the norm of the quaternion's coefficients
145 * \sa Quaternion::squaredNorm(), MatrixBase::norm()
147 inline Scalar norm() const { return m_coeffs.norm(); } function in class:Eigen::Quaternion
/external/eigen/Eigen/src/Eigenvalues/
H A DRealSchur.h237 Index findSmallSubdiagEntry(Index iu, const Scalar& norm);
283 Scalar norm = computeNormOfT(); local
285 if(norm!=0)
289 Index il = findSmallSubdiagEntry(iu, norm);
330 /** \internal Computes and returns vector L1 norm of T */
336 // Scalar norm = m_matT.upper().cwiseAbs().sum()
338 Scalar norm(0);
340 norm += m_matT.col(j).segment(0, (std::min)(size,j+2)).cwiseAbs().sum();
341 return norm;
346 inline typename MatrixType::Index RealSchur<MatrixType>::findSmallSubdiagEntry(Index iu, const Scalar& norm) argument
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dtscoll.cpp144 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status); local
182 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status);
216 if(norm != UCOL_ON && !quick) {
220 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status);

Completed in 4232 milliseconds

1234